15 python27.pkgs.buildPythonApplication {
20 nativeBuildInputs = [ installShellFiles ];
22 propagatedBuildInputs = [
28 for file in setup.cfg _resholve/version.py; do
29 substituteInPlace $file --subst-var-by version ${version}
34 installManPage resholve.1
37 # Do not propagate Python; may be obsoleted by nixos/nixpkgs#102613
38 # for context on why, see abathur/resholve#20
40 rm $out/nix-support/propagated-build-inputs
44 inherit (resholve-utils) mkDerivation phraseSolution writeScript writeScriptBin;
45 tests = callPackage ./test.nix { inherit rSrc binlore python27 resholve; };
49 description = "Resolve external shell-script dependencies";
50 homepage = "https://github.com/abathur/resholve";
51 license = with licenses; [ mit ];
52 maintainers = with maintainers; [ abathur ];
53 platforms = platforms.all;
54 knownVulnerabilities = [ ''
55 resholve depends on python27 (EOL). While it's safe to
56 run on trusted input in the build sandbox, you should
57 avoid running it on untrusted input.