nixpkgs/pkgs/by-name/fi/firewalk/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
708 B
Nix

{ 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;
};
})