nixpkgs/pkgs/development/python-modules/cytoolz/default.nix

36 lines
711 B
Nix
Raw Normal View History

2017-10-29 11:43:45 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, nose
, toolz
, python
, fetchpatch
, isPy27
2017-10-29 11:43:45 +00:00
}:
buildPythonPackage rec {
pname = "cytoolz";
version = "0.11.0";
disabled = isPy27 || isPyPy;
2017-10-29 11:43:45 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222";
2017-10-29 11:43:45 +00:00
};
checkInputs = [ nose ];
propagatedBuildInputs = [ toolz ];
checkPhase = ''
2021-02-06 12:10:52 +00:00
nosetests -v $out/${python.sitePackages}
2017-10-29 11:43:45 +00:00
'';
meta = {
homepage = "https://github.com/pytoolz/cytoolz/";
2017-10-29 11:43:45 +00:00
description = "Cython implementation of Toolz: High performance functional utilities";
license = "licenses.bsd3";
maintainers = with lib.maintainers; [ fridh ];
};
}