pythonPackages.distro: init 1.0.3

- tested on darwin
- tested on nixos
This commit is contained in:
Fernando J Pando 2017-03-20 12:36:57 -04:00 committed by mucaho
parent 75f1a55fbe
commit 80c295f50f
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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 ];
};
}

View File

@ -32191,6 +32191,8 @@ EOF
nitpick = callPackage ../applications/version-management/nitpick { };
distro = callPackage ../development/python-modules/distro { };
});
in fix' (extends overrides packages)