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