2021-11-09 10:50:05 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libpcap, libnet, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "netdiscover";
|
2022-10-30 10:02:11 +00:00
|
|
|
version = "0.10";
|
2021-11-09 10:50:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netdiscover-scanner";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-30 10:02:11 +00:00
|
|
|
sha256 = "sha256-Pd/Rf1G9z8sBZA5i+bzuzYUCiNI0Tv7Bz0lJDJCQU9I=";
|
2021-11-09 10:50:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "netdiscover";
|
2021-11-09 10:50:05 +00:00
|
|
|
};
|
|
|
|
}
|