diff options
author | Travis A. Everett <travis.a.everett@gmail.com> | 2024-03-05 22:09:07 -0600 |
---|---|---|
committer | Travis A. Everett <travis.a.everett@gmail.com> | 2024-03-28 19:45:35 -0500 |
commit | 56d5b181c9f2bf748a44526f4db9861524e1dbb2 (patch) | |
tree | c7cfbc3ec63a8369c57e181ae4cf216b66d8eb3f /pkgs/development/misc/resholve/resholve.nix | |
parent | 67d25591a0cb573bc5b2dd173a9d9099042f6909 (diff) |
resholve: 0.9.1 -> 0.10.2, ongoing cross fixes
Diffstat (limited to 'pkgs/development/misc/resholve/resholve.nix')
-rw-r--r-- | pkgs/development/misc/resholve/resholve.nix | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/pkgs/development/misc/resholve/resholve.nix b/pkgs/development/misc/resholve/resholve.nix index 28a0e401cf5dd..5c7984b66d223 100644 --- a/pkgs/development/misc/resholve/resholve.nix +++ b/pkgs/development/misc/resholve/resholve.nix @@ -2,17 +2,31 @@ , stdenv , callPackage , python27 +, fetchFromGitHub , installShellFiles , rSrc , version , oildev , configargparse +, gawk , binlore , resholve , resholve-utils }: -python27.pkgs.buildPythonApplication { +let + sedparse = python27.pkgs.buildPythonPackage rec { + pname = "sedparse"; + version = "0.1.2"; + src = fetchFromGitHub { + owner = "aureliojargas"; + repo = "sedparse"; + rev = "0.1.2"; + hash = "sha256-Q17A/oJ3GZbdSK55hPaMdw85g43WhTW9tuAuJtDfHHU="; + }; + }; + +in python27.pkgs.buildPythonApplication { pname = "resholve"; inherit version; src = rSrc; @@ -22,6 +36,11 @@ python27.pkgs.buildPythonApplication { propagatedBuildInputs = [ oildev configargparse + sedparse + ]; + + makeWrapperArgs = [ + "--prefix PATH : ${lib.makeBinPath [ gawk ]}" ]; postPatch = '' |