1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5}:
6
7buildPythonPackage rec{
8 pname = "toolz";
9 version = "0.10.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "08fdd5ef7c96480ad11c12d472de21acd32359996f69a5259299b540feba4560";
14 };
15
16 checkInputs = [ nose ];
17
18 checkPhase = ''
19 # https://github.com/pytoolz/toolz/issues/357
20 rm toolz/tests/test_serialization.py
21 nosetests toolz/tests
22 '';
23
24 meta = with lib; {
25 homepage = https://github.com/pytoolz/toolz;
26 description = "List processing tools and functional utilities";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ fridh ];
29 };
30}