Merge pull request #278604 from D3vil0p3r/patch-10
maltego: apply review comments from maltego init PR
This commit is contained in:
commit
ecabc9cc10
|
@ -20,16 +20,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace bin/maltego \
|
substituteInPlace bin/maltego \
|
||||||
--replace /usr/bin/awk ${lib.getExe gawk}
|
--replace-fail /usr/bin/awk ${lib.getExe gawk}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
desktopItems = [
|
desktopItems = [
|
||||||
(makeDesktopItem {
|
(makeDesktopItem {
|
||||||
name = finalAttrs.pname;
|
name = "maltego";
|
||||||
desktopName = "Maltego";
|
desktopName = "Maltego";
|
||||||
exec = finalAttrs.meta.mainProgram;
|
exec = "maltego";
|
||||||
icon = finalAttrs.pname;
|
icon = "maltego";
|
||||||
comment = "An open source intelligence and forensics application";
|
comment = "An open source intelligence and forensics application";
|
||||||
categories = [ "Network" "Security" ];
|
categories = [ "Network" "Security" ];
|
||||||
startupNotify = false;
|
startupNotify = false;
|
||||||
|
@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
cp -aR . "$out/share/maltego/"
|
cp -aR . "$out/share/maltego/"
|
||||||
|
|
||||||
makeWrapper $out/share/maltego/bin/maltego $out/bin/${finalAttrs.meta.mainProgram} \
|
makeWrapper $out/share/maltego/bin/maltego $out/bin/maltego \
|
||||||
--set JAVA_HOME ${jre} \
|
--set JAVA_HOME ${jre} \
|
||||||
--prefix PATH : ${lib.makeBinPath [ jre ]}
|
--prefix PATH : ${lib.makeBinPath [ jre ]}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
description = "An open source intelligence and forensics application, enabling to easily gather information about DNS, domains, IP addresses, websites, persons, and so on";
|
description = "An open source intelligence and forensics application, enabling to easily gather information about DNS, domains, IP addresses, websites, persons, and so on";
|
||||||
mainProgram = "maltego";
|
mainProgram = "maltego";
|
||||||
maintainers = with maintainers; [ emilytrau d3vil0p3r ];
|
maintainers = with maintainers; [ emilytrau d3vil0p3r ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = platforms.unix;
|
||||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user