python3Packages.slicerator: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent e75fcaf708
commit 527c39464e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      pkgs/development/python-modules/slicerator/default.nix

@ -2,20 +2,21 @@
, buildPythonPackage
, fetchPypi
, python
, six
, pythonOlder
}:
buildPythonPackage rec {
version = "1.1.0";
pname = "slicerator";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RAEKf1zYdoDAchO1yr6B0ftxJSlilD5Tc+59FGBdYEY=";
hash = "sha256-RAEKf1zYdoDAchO1yr6B0ftxJSlilD5Tc+59FGBdYEY=";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} run_tests.py
'';
@ -24,9 +25,9 @@ buildPythonPackage rec {
doCheck = false;
meta = with lib; {
homepage = "https://github.com/soft-matter/slicerator";
description = "A lazy-loading, fancy-sliceable iterable";
homepage = "https://github.com/soft-matter/slicerator";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}

Loading…
Cancel
Save