diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-05 10:04:11 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-05 10:04:11 +0200 |
commit | a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9 (patch) | |
tree | 3c8d96300ae9c4e2d88bddb6f5a7f659b7907f46 /pkgs/development | |
parent | 5d057a2d7f28e1c37c111c0d90ee32a1a9a9de7d (diff) | |
download | nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar.gz nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar.bz2 nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar.lz nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar.xz nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.tar.zst nixlib-a2fb79f86504c7d84b61aa18e79ea3b7fba4a9d9.zip |
python.pkgs.dill: 0.2.6 -> 0.2.7.1
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/dill/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dill/default.nix b/pkgs/development/python-modules/dill/default.nix new file mode 100644 index 000000000000..79c87772ffe7 --- /dev/null +++ b/pkgs/development/python-modules/dill/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, python +}: + +buildPythonPackage rec { + pname = "dill"; + version = "0.2.7.1"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "97fd758f5fe742d42b11ec8318ecfcff8776bccacbfcec05dfd6276f5d450f73"; + }; + + # Messy test suite. Even when running the tests like tox does, it fails + doCheck = false; + checkPhase = '' + for test in tests/*.py; do + ${python.interpreter} $test + done + ''; + # Following error without setting checkPhase + # TypeError: don't know how to make test from: {'byref': False, 'recurse': False, 'protocol': 3, 'fmode': 0} + + meta = { + description = "Serialize all of python (almost)"; + homepage = http://www.cacr.caltech.edu/~mmckerns/dill.htm; + license = lib.licenses.bsd3; + }; +} \ No newline at end of file |