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