diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-04-30 17:16:28 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-04-30 17:16:28 +0200 |
commit | 93507828b235e3c1775c80653b1cbe22cc55efa9 (patch) | |
tree | ab1d5266b28529441db45c2f9b6f3161656c8a67 /pkgs/tools/security/pass | |
parent | 93edfffab6b9c0b279dce1891bb31c3d3970e06a (diff) |
passExtensions.pass-import: fix tests
Diffstat (limited to 'pkgs/tools/security/pass')
-rw-r--r-- | pkgs/tools/security/pass/extensions/import.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/tools/security/pass/extensions/import.nix b/pkgs/tools/security/pass/extensions/import.nix index be2492112c3f8..655bee41ba6ee 100644 --- a/pkgs/tools/security/pass/extensions/import.nix +++ b/pkgs/tools/security/pass/extensions/import.nix @@ -17,9 +17,14 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-nH2xAqWfMT+Brv3z9Aw6nbvYqArEZjpM28rKsRPihqA="; }; - # by default, tries to install scripts/pimport, which is a bash wrapper around "python -m pass_import ..." - # This is a better way to do the same, and takes advantage of the existing Nix python environments patches = [ + (fetchpatch { + name = "support-for-keepass-4.0.0.patch"; + url = "https://github.com/roddhjav/pass-import/commit/86cfb1bb13a271fefe1e70f24be18e15a83a04d8.patch"; + sha256 = "0mrlblqlmwl9gqs2id4rl4sivrcclsv6zyc6vjqi78kkqmnwzhxh"; + }) + # by default, tries to install scripts/pimport, which is a bash wrapper around "python -m pass_import ..." + # This is a better way to do the same, and takes advantage of the existing Nix python environments # from https://github.com/roddhjav/pass-import/pull/138 (fetchpatch { name = "pass-import-pr-138-pimport-entrypoint.patch"; |