2017-10-29 11:43:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPyPy
|
|
|
|
, nose
|
|
|
|
, toolz
|
|
|
|
, python
|
2018-12-07 14:07:33 +00:00
|
|
|
, fetchpatch
|
2017-10-29 11:43:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cytoolz";
|
2019-07-20 09:56:42 +01:00
|
|
|
version = "0.10.0";
|
2017-10-29 11:43:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-20 09:56:42 +01:00
|
|
|
sha256 = "ed9f6a07c2bac70d6c597df360d0666d11d2adc90141d54c5c2db08b380a4fac";
|
2017-10-29 11:43:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Extension types
|
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ toolz ];
|
|
|
|
|
2018-11-24 13:49:48 +00:00
|
|
|
# Failing test https://github.com/pytoolz/cytoolz/issues/122
|
2017-10-29 11:43:45 +00:00
|
|
|
checkPhase = ''
|
2018-11-24 13:49:48 +00:00
|
|
|
NOSE_EXCLUDE=test_introspect_builtin_modules nosetests -v $out/${python.sitePackages}
|
2017-10-29 11:43:45 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2018-12-07 14:07:33 +00:00
|
|
|
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 ];
|
|
|
|
};
|
2018-12-07 14:07:33 +00:00
|
|
|
}
|