mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
29 lines
552 B
Nix
29 lines
552 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, nose
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "toolz";
|
||
|
version = "0.10.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "08fdd5ef7c96480ad11c12d472de21acd32359996f69a5259299b540feba4560";
|
||
|
};
|
||
|
|
||
|
checkInputs = [ nose ];
|
||
|
|
||
|
checkPhase = ''
|
||
|
nosetests toolz/tests
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://github.com/pytoolz/toolz";
|
||
|
description = "List processing tools and functional utilities";
|
||
|
license = licenses.bsd3;
|
||
|
maintainers = with maintainers; [ fridh ];
|
||
|
};
|
||
|
}
|