13 stdenv.mkDerivation (finalAttrs: {
18 url = "https://downloads.maltego.com/maltego-v4/linux/Maltego.v${finalAttrs.version}.linux.zip";
19 hash = "sha256-dPpkIoWK/mzC9wD+3QTNv3tYG27QVgCxtAymkwjIwUY=";
23 substituteInPlace bin/maltego \
24 --replace-fail /usr/bin/awk ${lib.getExe gawk}
30 desktopName = "Maltego";
33 comment = "An open source intelligence and forensics application";
34 categories = [ "Network" "Security" ];
35 startupNotify = false;
45 buildInputs = [ jre giflib ];
50 mkdir -p $out/{bin,share}
53 icotool -x bin/maltego.ico
55 for size in 16 32 48 256
57 mkdir -p $out/share/icons/hicolor/$size\x$size/apps
58 cp maltego_*_$size\x$size\x32.png $out/share/icons/hicolor/$size\x$size/apps/maltego.png
63 cp -aR . "$out/share/maltego/"
65 makeWrapper $out/share/maltego/bin/maltego $out/bin/maltego \
66 --set JAVA_HOME ${jre} \
67 --prefix PATH : ${lib.makeBinPath [ jre ]}
73 homepage = "https://www.maltego.com";
74 description = "Open source intelligence and forensics application, enabling to easily gather information about DNS, domains, IP addresses, websites, persons, and so on";
75 mainProgram = "maltego";
76 maintainers = with maintainers; [ emilytrau d3vil0p3r ];
77 platforms = platforms.unix;
78 sourceProvenance = with sourceTypes; [ binaryBytecode ];
79 license = licenses.unfree;