diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index fe73c9cdc7..19b58501e9 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2020 Hamzeh Nasajpour ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2021 Hartmut Goebel +;;; Copyright © 2021 Justin Veilleux ;;; ;;; This file is part of GNU Guix. ;;; @@ -4069,3 +4070,33 @@ (define-public yggdrasil ;; version. This exception does not (and cannot) modify any license terms ;; which apply to the Application, with which you must still comply license:lgpl3))) + +(define-public netdiscover + (package + (name "netdiscover") + (version "0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/netdiscover-scanner/netdiscover") + (commit version))) + (sha256 + (base32 "0g8w8rlg16dsibxi4dnyn7v7r8wwi5ypd51c4w59j0ps2id0w8yj")) + (file-name (string-append "netdiscover-" version)))) + (arguments + `(#:tests? #f)) ;; no tests + (build-system gnu-build-system) + (inputs + `(("libnet" ,libnet) + ("libpcap" ,libpcap))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (synopsis "Network address discovery tool") + (description "Netdiscover is a network address discovery tool developed +mainly for wireless networks without a @acronym{DHCP} server. It also works +on hub/switched networks. It is based on @acronym{ARP} packets, it will send +@acronym{ARP} requests and sniff for replies.") + (home-page "https://github.com/netdiscover-scanner/netdiscover") + (license license:gpl3+)))