pythonPackages.slicerator: init at 0.9.8
This commit is contained in:
parent
1a67a15c6f
commit
ce4b7154ac
32
pkgs/development/python-modules/slicerator/default.nix
Normal file
32
pkgs/development/python-modules/slicerator/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue