1 { lib, stdenv, fetchFromGitHub, libpcap, libnet, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "netdiscover-scanner";
11 sha256 = "sha256-Pd/Rf1G9z8sBZA5i+bzuzYUCiNI0Tv7Bz0lJDJCQU9I=";
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ libpcap libnet ];
17 # Running update-oui-database.sh would probably make the build irreproducible
20 description = "Network address discovering tool, developed mainly for those wireless networks without dhcp server, it also works on hub/switched networks";
21 homepage = "https://github.com/netdiscover-scanner/netdiscover";
22 license = licenses.gpl3Plus;
23 maintainers = with maintainers; [ vdot0x23 ];
24 platforms = platforms.unix;
25 mainProgram = "netdiscover";