Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
27 lines
877 B
Nix
27 lines
877 B
Nix
{ lib, stdenv, fetchFromGitHub, libpcap, libnet, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "netdiscover";
|
|
version = "0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "netdiscover-scanner";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Pd/Rf1G9z8sBZA5i+bzuzYUCiNI0Tv7Bz0lJDJCQU9I=";
|
|
};
|
|
|
|
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";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ vdot0x23 ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "netdiscover";
|
|
};
|
|
}
|