zap: init at 2.4.3

+38
+36
pkgs/tools/networking/zap/default.nix
··· 1 + { stdenv, fetchFromGitHub, jre, jdk, ant }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "zap-${version}"; 5 + version = "2.4.3"; 6 + src = fetchFromGitHub { 7 + owner = "zaproxy"; 8 + repo = "zaproxy"; 9 + rev ="${version}"; 10 + sha256 = "1np9jxy09j8wzqcxw3c71x9hwrrbkjlz7qw903kv43wr74mv2snd"; 11 + }; 12 + 13 + buildInputs = [ jdk ant ]; 14 + 15 + buildPhase = '' 16 + cd build 17 + ant -f build.xml setup init compile dist copy-source-to-build package-linux 18 + ''; 19 + 20 + installPhase = '' 21 + mkdir -p "$out/share" 22 + tar xvf "ZAP_${version}_Linux.tar.gz" -C "$out/share/" 23 + mkdir -p "$out/bin" 24 + echo "#!/bin/sh" > "$out/bin/zap" 25 + echo \"$out/share/ZAP_${version}/zap.sh\" >> "$out/bin/zap" 26 + chmod +x "$out/bin/zap" 27 + ''; 28 + 29 + meta = with stdenv.lib; { 30 + homepage = "https://www.owasp.org/index.php/ZAP"; 31 + description = "Java application for web penetration testing"; 32 + maintainers = with maintainers; [ mog ]; 33 + platforms = platforms.linux; 34 + license = licenses.asl20; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 15765 15765 15766 15766 yara = callPackage ../tools/security/yara { }; 15767 15767 15768 + zap = callPackage ../tools/networking/zap { }; 15769 + 15768 15770 zdfmediathk = callPackage ../applications/video/zdfmediathk { }; 15769 15771 15770 15772 zopfli = callPackage ../tools/compression/zopfli { };