diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-25 16:10:39 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-10-26 16:37:52 +0200 |
commit | b40cec3b7a0436a0a76db296eafd438529559423 (patch) | |
tree | 6ceb24e2f68ca54cab51429b4eb5c0bc5eea3724 /pkgs/development/python-modules/pympler | |
parent | 2bb31202a27c5bd47a4e47b72badd820565f1d38 (diff) |
pythonPAckages.pympler: 0.4.3 -> 0.6
Diffstat (limited to 'pkgs/development/python-modules/pympler')
-rw-r--r-- | pkgs/development/python-modules/pympler/default.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pympler/default.nix b/pkgs/development/python-modules/pympler/default.nix index 1a3eb0475105d..a331f5e11755d 100644 --- a/pkgs/development/python-modules/pympler/default.nix +++ b/pkgs/development/python-modules/pympler/default.nix @@ -5,19 +5,15 @@ buildPythonPackage rec { pname = "Pympler"; - version = "0.4.3"; + version = "0.6"; src = fetchPypi { inherit pname version; - sha256 = "0mhyxqlkha98y8mi5zqcjg23r30mgdjdzs05lghbmqfdyvzjh1a3"; + sha256 = "c262ceca4dac67b8b523956833c52443420eabc3321a07185990b358b8ba13a7"; }; - # Remove test asizeof.flatsize(), broken and can be missed as - # test is only useful on python 2.5, see https://github.com/pympler/pympler/issues/22 - patchPhase = '' - substituteInPlace ./test/asizeof/test_asizeof.py --replace "n, e = test_flatsize" "#n, e = test_flatsize" - substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(n," "#self.assert_(n," - substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(not e" "#self.assert_(not e" + postPatch = '' + rm test/asizeof/test_asizeof.py ''; doCheck = stdenv.hostPlatform.isLinux; |