summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2020-01-24 22:19:41 +0100
committerJon <jonringer@users.noreply.github.com>2020-01-24 14:02:34 -0800
commit4acf0beba1b7ab811052241d3375e74756b61bdf (patch)
treed78e056ae0279cdb44cef56ab58afcbce5fbed01 /pkgs/development
parente197a1705a13360e6a530f78945ec4ba5551c77e (diff)
downloadnixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar.gz
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar.bz2
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar.lz
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar.xz
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.tar.zst
nixpkgs-4acf0beba1b7ab811052241d3375e74756b61bdf.zip
python3Packages.zodb: fix compatibility with transaction 3.0
zodb build broke with the python3Packages.transaction upgrade that
happened in f054f498400b285f0893727a2c039c802d771925.
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/zodb/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zodb/default.nix b/pkgs/development/python-modules/zodb/default.nix
index c7935208536..f15cefaa475 100644
--- a/pkgs/development/python-modules/zodb/default.nix
+++ b/pkgs/development/python-modules/zodb/default.nix
@@ -1,5 +1,6 @@
 { stdenv
 , fetchPypi
+, fetchpatch
 , buildPythonPackage
 , python
 , zope_testrunner
@@ -23,6 +24,14 @@ buildPythonPackage rec {
       sha256 = "20155942fa326e89ad8544225bafd74237af332ce9d7c7105a22318fe8269666";
     };
 
+    patches = [
+      # Compatibility with transaction v3.0
+      (fetchpatch {
+        url = "https://github.com/zopefoundation/ZODB/commit/0adcc6877f690186c97cc5da7e13788946d5e0df.patch";
+        sha256 = "1zmbgm7r36nj5w7icpinp61fm81svh2wk213pzr3l0jxzr9i5qi4";
+      })
+    ];
+
     # remove broken test
     postPatch = ''
       rm -vf src/ZODB/tests/testdocumentation.py