about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorAndrey Golovizin <ag@sologoc.com>2020-12-07 21:07:49 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-12-08 12:27:01 -0800
commitb445bc62b791e3a97321d7682931965c2bdcdfe7 (patch)
tree07560fb2a7ecd6ce0dd336bde52e062fc9d9a0b5 /pkgs/development
parent0bb69986bd7839cfd7f63691891c50d9155c9e16 (diff)
pythonPackages.llfuse: fix tests with pytest 6
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/llfuse/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix
index 0480deb401c86..d82f35782c1cc 100644
--- a/pkgs/development/python-modules/llfuse/default.nix
+++ b/pkgs/development/python-modules/llfuse/default.nix
@@ -15,6 +15,14 @@ buildPythonPackage rec {
     sha256 = "1g2cdhdqrb6m7655qp61pn61pwj1ql61cdzhr2jvl3w4i8877ddr";
   };
 
+  patches = [
+    # fix tests with pytest 6
+    (fetchpatch {
+      url = "https://github.com/python-llfuse/python-llfuse/commit/1ed8b280d2544eedf8bf209761bef0d2519edd17.diff";
+      sha256 = "0wailfrr1i0n2m9ylwpr00jh79s7z3l36w7x19jx1x4djcz2hdps";
+    })
+  ];
+
   nativeBuildInputs = [ pkgconfig ];
   buildInputs =
     optionals stdenv.isLinux [ fuse ]