1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPyPy
5, nose
6, toolz
7, python
8, fetchpatch
9}:
10
11buildPythonPackage rec {
12 pname = "cytoolz";
13 version = "0.10.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "ed9f6a07c2bac70d6c597df360d0666d11d2adc90141d54c5c2db08b380a4fac";
18 };
19
20 # Extension types
21 disabled = isPyPy;
22
23 checkInputs = [ nose ];
24 propagatedBuildInputs = [ toolz ];
25
26 # Failing test https://github.com/pytoolz/cytoolz/issues/122
27 checkPhase = ''
28 NOSE_EXCLUDE=test_introspect_builtin_modules nosetests -v $out/${python.sitePackages}
29 '';
30
31 meta = {
32 homepage = https://github.com/pytoolz/cytoolz/;
33 description = "Cython implementation of Toolz: High performance functional utilities";
34 license = "licenses.bsd3";
35 maintainers = with lib.maintainers; [ fridh ];
36 };
37}