1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/slicerator/default.nix

33 lines
671 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
2019-10-24 07:47:49 +01:00
version = "1.0.0";
pname = "slicerator";
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:49 +01:00
sha256 = "18e60393e6765ca96986f801bbae62a617a1eba6ed57784e61b165ffc7dc1848";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} run_tests.py
'';
# run_tests.py not packaged with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/soft-matter/slicerator";
description = "A lazy-loading, fancy-sliceable iterable";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}