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