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.1";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0p4a9nadsy1337gy2cnb5yanbn03j3zm6d9adyqad9bk3nlbpxc2";
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}