2017-10-29 12:31:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec{
|
|
|
|
pname = "toolz";
|
2017-12-30 12:28:11 +01:00
|
|
|
version = "0.9.0";
|
2017-10-29 12:31:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:28:11 +01:00
|
|
|
sha256 = "929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9";
|
2017-10-29 12:31:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
# https://github.com/pytoolz/toolz/issues/357
|
|
|
|
rm toolz/tests/test_serialization.py
|
|
|
|
nosetests toolz/tests
|
|
|
|
'';
|
|
|
|
|
2018-10-10 02:42:29 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/pytoolz/toolz;
|
2017-10-29 12:31:48 +01:00
|
|
|
description = "List processing tools and functional utilities";
|
2018-10-10 02:42:29 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
2017-10-29 12:31:48 +01:00
|
|
|
};
|
2018-06-27 22:12:57 +02:00
|
|
|
}
|