aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-01-18 22:31:18 +0000
committerChristopher Baines <mail@cbaines.net>2018-01-18 22:31:18 +0000
commit560d9dda103071736396f99ccccf34bbfbdad1cd (patch)
tree9933c5fe989600af813dc56bf6299bd7ea4f2fd1
parent3926a099b4b40464a1e5f69b65ab78399d23c51e (diff)
downloadguix-560d9dda103071736396f99ccccf34bbfbdad1cd.tar
guix-560d9dda103071736396f99ccccf34bbfbdad1cd.tar.gz
Add netcf
-rw-r--r--gnu/packages/networking.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index bf8e8c65d4..20b35f97f2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1568,3 +1568,35 @@ routers (or @dfn{hops}) between the local host and a user-specified destination.
It then continually measures the response time and packet loss at each hop, and
displays the results in real time.")
(license license:gpl2+)))
+
+
+(define-public netcf
+ (package
+ (name "mtr")
+ (version "0.92")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "ftp://ftp.bitwizard.nl/" name "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10j3ds3p27jygys4x08kj8fi3zlsgiv72xsfazkah6plwawrv5zj"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libcap" ,libcap)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ ;; The 0.92 release tarball still requires the ‘autoheader’ tool.
+ `(("autoconf" ,autoconf)))
+ (arguments
+ `(#:tests? #f)) ; tests require network access
+ (home-page "https://www.bitwizard.nl/mtr/")
+ (synopsis "Network diagnostic tool")
+ (description
+ "@dfn{mtr} (My TraceRoute) combines the functionality of the
+@command{traceroute} and @command{ping} programs in a single network diagnostic
+tool. @command{mtr} can use several network protocols to detect intermediate
+routers (or @dfn{hops}) between the local host and a user-specified destination.
+It then continually measures the response time and packet loss at each hop, and
+displays the results in real time.")
+ (license license:gpl2+)))