Files
nixpkgs/pkgs/by-name/ne/netdiscover/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
1001 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
libpcap,
libnet,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "netdiscover";
version = "0.21";
src = fetchFromGitHub {
owner = "netdiscover-scanner";
repo = "netdiscover";
tag = version;
hash = "sha256-8m59kdhmH8uxOUCqkvr909DhXDCpMF4grO9ULrrZqjA=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
libpcap
libnet
];
# Running update-oui-database.sh would probably make the build irreproducible
meta = with lib; {
description = "Network address discovering tool, developed mainly for those wireless networks without dhcp server, it also works on hub/switched networks";
homepage = "https://github.com/netdiscover-scanner/netdiscover";
changelog = "https://github.com/netdiscover-scanner/netdiscover/releases/tag/${src.tag}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vdot0x23 ];
platforms = platforms.unix;
mainProgram = "netdiscover";
};
}