python.pkgs.dill: 0.2.6 -> 0.2.7.1
This commit is contained in:
parent
5d057a2d7f
commit
a2fb79f865
32
pkgs/development/python-modules/dill/default.nix
Normal file
32
pkgs/development/python-modules/dill/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -4946,24 +4946,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
dill = buildPythonPackage rec {
|
dill = callPackage ../development/python-modules/dill { };
|
||||||
name = "dill-${version}";
|
|
||||||
version = "0.2.6";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/dill/${name}.zip";
|
|
||||||
sha256 = "6c1ccca68be483fa8c66e85a89ffc850206c26373aa77a97b83d8d0994e7f1fd";
|
|
||||||
};
|
|
||||||
|
|
||||||
# TypeError: don't know how to make test from: {'byref': False, 'recurse': False, 'protocol': 3, 'fmode': 0}
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Serialize all of python (almost)";
|
|
||||||
homepage = http://www.cacr.caltech.edu/~mmckerns/dill.htm;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
discogs_client = buildPythonPackage rec {
|
discogs_client = buildPythonPackage rec {
|
||||||
name = "discogs-client-2.0.2";
|
name = "discogs-client-2.0.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user