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 nosetests toolz/tests
20 '';
21
22 meta = with lib; {
23 homepage = "https://github.com/pytoolz/toolz";
24 description = "List processing tools and functional utilities";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ fridh ];
27 };
28}