arp-scan: 1.9.5 -> 1.9.7

- 1.9.5 -> 1.9.7
- Fixes perl shebang and PERL5LIB for get-{oui,iab} scripts
- Quoted meta.homepage
This commit is contained in:
Stig Palmquist 2019-12-12 20:27:29 +01:00 committed by Bjørn Forsman
parent 476547eb66
commit 5f19aab912

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "arp-scan";
version = "1.9.5";
version = "1.9.7";
src = fetchFromGitHub {
owner = "royhills";
repo = "arp-scan";
rev = "4de863c2627a05177eda7159692a588f9f520cd1";
sha256 = "15zpfdybk2kh98shqs8qqd0f9nyi2ch2wcyv729rfj7yp0hif5mb";
rev = version;
sha256 = "1mf7a4f9vzvnkiavc87aqyciswggsb4fpy7j05jxnvjyyxv3l7gp";
};
perlModules = with perlPackages; [
@ -19,11 +19,11 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libpcap makeWrapper ];
buildInputs = [ perlPackages.perl libpcap makeWrapper ];
postInstall = ''
for name in get-{oui,iab}; do
wrapProgram "$out/bin/$name" --set PERL5LIB "${perlPackages.makePerlPath perlModules }"
wrapProgram "$out/bin/$name" --set PERL5LIB "${perlPackages.makeFullPerlPath perlModules}"
done;
'';
@ -33,7 +33,7 @@ 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 = "http://www.nta-monitor.com/wiki/index.php/Arp-scan_Documentation";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor mikoim ];