about summary refs log tree commit diff
path: root/pkgs/tools/security/pass
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-06-26 17:24:44 +0000
committerRobert Schütz <github@dotlambda.de>2022-06-30 22:35:05 +0000
commit04fcf7fcded8cf8f261ec61c1f9065f188bad4e5 (patch)
tree14ed395964c333f0a8e211185e7198036fab52aa /pkgs/tools/security/pass
parent1bf827d026e8f4f31de1fb483f6d3b3df90a21c6 (diff)
passExtensions.pass-import: support pykeepass 4.0.3
Diffstat (limited to 'pkgs/tools/security/pass')
-rw-r--r--pkgs/tools/security/pass/extensions/import.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/security/pass/extensions/import.nix b/pkgs/tools/security/pass/extensions/import.nix
index fdfab9bc1954b..d543ef9b25752 100644
--- a/pkgs/tools/security/pass/extensions/import.nix
+++ b/pkgs/tools/security/pass/extensions/import.nix
@@ -18,6 +18,14 @@ python3Packages.buildPythonApplication rec {
     sha256 = "0hrpg7yiv50xmbajfy0zdilsyhbj5iv0qnlrgkfv99q1dvd5qy56";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "support-for-pykeepass-4.0.3.patch";
+      url = "https://github.com/roddhjav/pass-import/commit/f1b167578916d971ee4f99be99ba0e86ef49015e.patch";
+      hash = "sha256-u6bJbV3/QTfRaPauKSyCWNodpy6CKsreMXUZWKRbee0=";
+    })
+  ];
+
   propagatedBuildInputs = with python3Packages; [
     cryptography
     defusedxml