nixpkgs/pkgs/development/python-modules/toolz/default.nix

29 lines
540 B
Nix
Raw Normal View History

2017-10-29 11:31:48 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
2017-10-29 11:31:48 +00:00
pname = "toolz";
version = "0.11.1";
2017-10-29 11:31:48 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1grz3zvw5ixwqqlbv0n7j11mlcxb66cirh5i9x9zw8kqy0hpk967";
2017-10-29 11:31:48 +00:00
};
checkInputs = [ nose ];
checkPhase = ''
nosetests toolz/tests
'';
meta = with lib; {
homepage = "https://github.com/pytoolz/toolz";
2017-10-29 11:31:48 +00:00
description = "List processing tools and functional utilities";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
2017-10-29 11:31:48 +00:00
};
2018-06-27 20:12:57 +00:00
}