diff --git a/pkgs/tools/misc/arp-scan/default.nix b/pkgs/tools/misc/arp-scan/default.nix index 1e0ad4079d6c..50915ebf7201 100644 --- a/pkgs/tools/misc/arp-scan/default.nix +++ b/pkgs/tools/misc/arp-scan/default.nix @@ -22,8 +22,8 @@ stdenv.mkDerivation rec { buildInputs = [ perlPackages.perl libpcap ]; postInstall = '' - for name in get-{oui,iab}; do - wrapProgram "$out/bin/$name" --set PERL5LIB "${perlPackages.makeFullPerlPath perlModules}" + for binary in get-{oui,iab}; do + wrapProgram "$out/bin/$binary" --set PERL5LIB "${perlPackages.makeFullPerlPath perlModules}" done; ''; @@ -33,9 +33,10 @@ stdenv.mkDerivation rec { Arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. ''; - homepage = "http://www.nta-monitor.com/wiki/index.php/Arp-scan_Documentation"; + homepage = "https://github.com/royhills/arp-scan/wiki/arp-scan-User-Guide"; license = licenses.gpl3; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ bjornfor mikoim r-burns ]; + mainProgram = "arp-scan"; }; }