From 61e73427e00e0eb5419ebbdb2e96ccacc513532b Mon Sep 17 00:00:00 2001 From: adisbladis Date: Sat, 22 Jul 2017 10:24:43 +0800 Subject: [PATCH] pythonPackages.zodbpickle: 0.5.2 -> 0.6.0 --- .../python-modules/zodbpickle/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 17 +------------- 2 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 pkgs/development/python-modules/zodbpickle/default.nix diff --git a/pkgs/development/python-modules/zodbpickle/default.nix b/pkgs/development/python-modules/zodbpickle/default.nix new file mode 100644 index 000000000000..f51b30ab51e3 --- /dev/null +++ b/pkgs/development/python-modules/zodbpickle/default.nix @@ -0,0 +1,23 @@ +{ buildPythonPackage +, isPyPy +, fetchPypi +}: + +buildPythonPackage rec { + pname = "zodbpickle"; + version = "0.6.0"; + name = "${pname}-${version}"; + disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10 + + src = fetchPypi { + inherit pname version; + sha256 = "ea3248be966159e7791e3db0e35ea992b9235d52e7d39835438686741d196665"; + }; + + # fails.. + doCheck = false; + + meta = { + homepage = http://pypi.python.org/pypi/zodbpickle; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 86711d154bb0..e4a7a349fa36 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -25045,22 +25045,7 @@ EOF }; }; - zodbpickle = self.buildPythonPackage rec { - name = "zodbpickle-0.5.2"; - disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10 - - src = pkgs.fetchurl { - url = "mirror://pypi/z/zodbpickle/${name}.tar.gz"; - sha256 = "f65c00fbc13523fced63de6cc11747aa1a6343aeb2895c89838ed55a5ab12cca"; - }; - - # fails.. - doCheck = false; - - meta = { - homepage = http://pypi.python.org/pypi/zodbpickle; - }; - }; + zodbpickle = callPackage ../development/python-modules/zodbpickle {}; BTrees = callPackage ../development/python-modules/btrees {};