Merge pull request #46327 from costrouc/costrouc/markerlib

pythonPackages.markerlib: init at 0.6.0
This commit is contained in:
Alexey Shmalko 2018-09-07 23:38:16 +03:00 committed by GitHub
commit e5e4fd8ede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, setuptools
, nose
}:
buildPythonPackage rec {
version = "0.6.0";
pname = "markerlib";
src = fetchPypi {
inherit pname version;
sha256 = "2fdb3939441f5bf4f090b1979a34f84a11d33eed6c0e3995de88ae5c06b6e3ae";
};
buildInputs = [ setuptools ];
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
homepage = https://bitbucket.org/dholth/markerlib/;
description = "A compiler for PEP 345 environment markers";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -336,6 +336,8 @@ in {
mail-parser = callPackage ../development/python-modules/mail-parser { };
markerlib = callPackage ../development/python-modules/markerlib { };
monty = callPackage ../development/python-modules/monty { };
mpi4py = callPackage ../development/python-modules/mpi4py {