1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5}:
6
7buildPythonPackage rec{
8 pname = "toolz";
9 version = "0.9.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9";
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 = {
25 homepage = https://github.com/pytoolz/toolz/;
26 description = "List processing tools and functional utilities";
27 license = lib.licenses.bsd3;
28 maintainers = with lib.maintainers; [ fridh ];
29 };
30}