biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / netdiscover / default.nix
blobf58a6903943bc3609965f6ab99b263959f2fae7b
1 { lib, stdenv, fetchFromGitHub, libpcap, libnet, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "netdiscover";
5   version = "0.10";
7   src = fetchFromGitHub {
8     owner = "netdiscover-scanner";
9     repo = pname;
10     rev = version;
11     sha256 = "sha256-Pd/Rf1G9z8sBZA5i+bzuzYUCiNI0Tv7Bz0lJDJCQU9I=";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
15   buildInputs = [ libpcap libnet ];
17   # Running update-oui-database.sh would probably make the build irreproducible
19   meta = with lib; {
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";
26   };