Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 730 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libnet, 6 libpcap, 7 libdnet, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "firewalk"; 12 version = "5.0"; 13 14 src = fetchurl { 15 url = "https://salsa.debian.org/pkg-security-team/firewalk/-/archive/upstream/${finalAttrs.version}/firewalk-upstream-${finalAttrs.version}.tar.gz"; 16 hash = "sha256-f0sHzcH3faeg7epfpWXbgaHrRWaWBKMEqLdy38+svGo="; 17 }; 18 19 buildInputs = [ 20 libnet 21 libpcap 22 libdnet 23 ]; 24 25 meta = with lib; { 26 description = "Gateway ACL scanner"; 27 mainProgram = "firewalk"; 28 homepage = "http://packetfactory.openwall.net/projects/firewalk/"; 29 license = licenses.bsd2; 30 maintainers = with maintainers; [ tochiaha ]; 31 platforms = platforms.linux; 32 }; 33})