From 04fcf7fcded8cf8f261ec61c1f9065f188bad4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 26 Jun 2022 17:24:44 +0000 Subject: [PATCH] passExtensions.pass-import: support pykeepass 4.0.3 --- pkgs/tools/security/pass/extensions/import.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/tools/security/pass/extensions/import.nix b/pkgs/tools/security/pass/extensions/import.nix index fdfab9bc1954..d543ef9b2575 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