lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 65 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 libpcap, 7 makeWrapper, 8 perlPackages, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "arp-scan"; 13 version = "1.10.0"; 14 15 src = fetchFromGitHub { 16 owner = "royhills"; 17 repo = "arp-scan"; 18 tag = version; 19 sha256 = "sha256-BS+ItZd6cSMX92M6XGYrIeAiCB2iBdvbMvKdLfwawLQ="; 20 }; 21 22 patches = [ 23 ./remove-install-exec-hook.patch 24 ]; 25 26 perlModules = with perlPackages; [ 27 HTTPDate 28 HTTPMessage 29 LWP 30 TextCSV 31 URI 32 ]; 33 34 nativeBuildInputs = [ 35 autoreconfHook 36 makeWrapper 37 ]; 38 buildInputs = [ 39 perlPackages.perl 40 libpcap 41 ]; 42 43 postInstall = '' 44 for binary in get-{oui,iab}; do 45 wrapProgram "$out/bin/$binary" --set PERL5LIB "${perlPackages.makeFullPerlPath perlModules}" 46 done; 47 ''; 48 49 meta = with lib; { 50 description = "ARP scanning and fingerprinting tool"; 51 longDescription = '' 52 Arp-scan is a command-line tool that uses the ARP protocol to discover 53 and fingerprint IP hosts on the local network. 54 ''; 55 homepage = "https://github.com/royhills/arp-scan/wiki/arp-scan-User-Guide"; 56 license = licenses.gpl3; 57 platforms = platforms.linux ++ platforms.darwin; 58 maintainers = with maintainers; [ 59 bjornfor 60 mikoim 61 r-burns 62 ]; 63 mainProgram = "arp-scan"; 64 }; 65}