about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/fi/firewalk/package.nix
blob: 13497d99c443918bdba76b76d54724a758977f77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, fetchurl
, libnet
, libpcap
, libdnet
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "firewalk";
  version = "5.0";

  src = fetchurl {
    url = "https://salsa.debian.org/pkg-security-team/firewalk/-/archive/upstream/${finalAttrs.version}/firewalk-upstream-${finalAttrs.version}.tar.gz";
    hash = "sha256-f0sHzcH3faeg7epfpWXbgaHrRWaWBKMEqLdy38+svGo=";
  };

  buildInputs = [ libnet libpcap libdnet ];

  meta = with lib; {
    description = "Gateway ACL scanner";
    mainProgram = "firewalk";
    homepage = "http://packetfactory.openwall.net/projects/firewalk/";
    license = licenses.bsd2;
    maintainers = with maintainers; [ tochiaha ];
    platforms = platforms.linux;
  };
})