1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/slicerator/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

33 lines
669 B
Nix

{ 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 = https://github.com/soft-matter/slicerator;
description = "A lazy-loading, fancy-sliceable iterable";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}