1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/development/python-modules/toolz/default.nix

31 lines
670 B
Nix
Raw Normal View History

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