passExtensions.pass-import: convert to buildPythonApplication

Rewrite the derivation using buildPythonApplication, which makes the
wrappers a lot cleaner.
Adds tests because the application wasn't working as intended
due to the wrong file-magic python package (used "filemagic" instead of
desired "file-magic").
This commit is contained in:
Drew Risinger
2021-04-06 09:18:44 -04:00
parent 413e9561f8
commit 40b9f4ef87
3 changed files with 38 additions and 69 deletions
@@ -7,9 +7,7 @@ with pkgs;
pythonPackages = python3Packages;
};
pass-checkup = callPackage ./checkup.nix {};
pass-import = callPackage ./import.nix {
pythonPackages = python3Packages;
};
pass-import = callPackage ./import.nix {};
pass-otp = callPackage ./otp.nix {};
pass-tomb = callPackage ./tomb.nix {};
pass-update = callPackage ./update.nix {};