mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
netdiscover: init at 0.8.1
This commit is contained in:
parent
fe6952a393
commit
4aea8b21ed
2 changed files with 28 additions and 0 deletions
26
pkgs/tools/networking/netdiscover/default.nix
Normal file
26
pkgs/tools/networking/netdiscover/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libpcap, libnet, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "netdiscover";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "netdiscover-scanner";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "13fp9rfr9vh756m5wck76zbcr0296ir52dahzlqdr52ha9vrswbb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ libpcap libnet ];
|
||||
|
||||
# Running update-oui-database.sh would probably make the build irreproducible
|
||||
|
||||
meta = with lib; {
|
||||
description = "A 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;
|
||||
};
|
||||
}
|
|
@ -7816,6 +7816,8 @@ with pkgs;
|
|||
|
||||
netcat-gnu = callPackage ../tools/networking/netcat { };
|
||||
|
||||
netdiscover = callPackage ../tools/networking/netdiscover { };
|
||||
|
||||
nethogs = callPackage ../tools/networking/nethogs { };
|
||||
|
||||
netkittftp = callPackage ../tools/networking/netkit/tftp { };
|
||||
|
|
Loading…
Reference in a new issue