diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-10-29 12:31:48 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-10-29 12:44:13 +0100 |
commit | 59d1dc6c58d56af53f388e3b5542603a0889ebd4 (patch) | |
tree | f0185bca4b9ec7c89871c4b543109f75c29cca5b /pkgs/development/python-modules/toolz | |
parent | 6e5276f0abd34fde52e6750cb041a7fc8fac9365 (diff) | |
download | nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar.gz nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar.bz2 nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar.lz nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar.xz nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.tar.zst nixlib-59d1dc6c58d56af53f388e3b5542603a0889ebd4.zip |
python.pkgs.toolz: move expression
Diffstat (limited to 'pkgs/development/python-modules/toolz')
-rw-r--r-- | pkgs/development/python-modules/toolz/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/toolz/default.nix b/pkgs/development/python-modules/toolz/default.nix new file mode 100644 index 000000000000..36b85bce3acd --- /dev/null +++ b/pkgs/development/python-modules/toolz/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, fetchPypi +, nose +}: + +buildPythonPackage rec{ + pname = "toolz"; + version = "0.8.2"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0l3czks4xy37i8099waxk2fdz5g0k1dwys2mkhlxc0b0886cj4sa"; + }; + + 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 ]; + }; +} \ No newline at end of file |