nixpkgs-suyu/pkgs/development/python-modules/distro/default.nix
Fernando J Pando 80c295f50f pythonPackages.distro: init 1.0.3
- tested on darwin
- tested on nixos
2017-04-13 00:01:30 +02:00

26 lines
622 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "distro";
version = "1.0.3";
buildInputs = [ pytest pytestcov tox];
checkPhase = ''
touch tox.ini
tox
'';
src = fetchPypi {
inherit pname version;
sha256 = "1kmjdz1kxspsmps73m2kzhxz86jj43ikx825hmgmwbx793ywv69d";
};
meta = with stdenv.lib; {
homepage = https://github.com/nir0s/distro;
description = "Linux Distribution - a Linux OS platform information API.";
license = licenses.asl20;
maintainers = with maintainers; [ nand0p ];
};
}