diff options
author | makefu <github@syntax-fehler.de> | 2018-08-16 16:20:51 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-16 16:20:51 +0200 |
commit | 52a2928e7d612ef29fc656508350bc3b6e1bac9a (patch) | |
tree | d870b8c29217827390b8b4a9952ef706c86c50e7 | |
parent | d22432100f325f940ec89e1e063687668247e989 (diff) |
ma pkgs.drozer: fix build
-rw-r--r-- | makefu/5pkgs/drozer/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/makefu/5pkgs/drozer/default.nix b/makefu/5pkgs/drozer/default.nix index 3df67d07e..1f353e477 100644 --- a/makefu/5pkgs/drozer/default.nix +++ b/makefu/5pkgs/drozer/default.nix @@ -1,15 +1,16 @@ -{ pkgs, lib, fetchFromGitHub, pythonPackages, jre7, jdk7 }: +{ pkgs, lib, fetchFromGitHub, pythonPackages, jre, jdk }: pythonPackages.buildPythonApplication rec { name = "drozer-${version}"; version = "2.4.3"; - buildInputs = [ jdk7 ]; + buildInputs = [ jdk ]; propagatedBuildInputs = with pythonPackages; [ protobuf pyopenssl pyyaml + service-identity ] ++ [ - jre7 + jre twisted ]; src = fetchFromGitHub { @@ -19,7 +20,7 @@ pythonPackages.buildPythonApplication rec { sha256 = "1z437y7rr53dhpi95yc2c3x8g4aix90y7zf52avcdsvhlp4iip3q"; }; prePatch = '' - sed -i 's#^exec java #exec ${jre7}/bin/java #' ./src/drozer/lib/dx + sed -i 's#^exec java #exec ${jre}/bin/java #' ./src/drozer/lib/dx patchShebangs ./src/drozer/lib/dx patchelf $(cat $NIX_CC/nix-support/dynamic-linker) ./src/drozer/lib/aapt echo starting build |