pythonPackages.slicerator: init at 0.9.8

This commit is contained in:
Chris Ostrouchov 2018-09-13 16:41:34 -04:00
parent 1a67a15c6f
commit ce4b7154ac
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
version = "0.9.8";
pname = "slicerator";
src = fetchPypi {
inherit pname version;
sha256 = "b91dd76a415fd8872185cbd6fbf1922fe174359053d4694983fc719e4a0f5667";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} run_tests.py
'';
# run_tests.py not packaged with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/soft-matter/slicerator;
description = "A lazy-loading, fancy-sliceable iterable";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -568,6 +568,8 @@ in {
slackclient = callPackage ../development/python-modules/slackclient { };
slicerator = callPackage ../development/python-modules/slicerator { };
spglib = callPackage ../development/python-modules/spglib { };
statistics = callPackage ../development/python-modules/statistics { };