summary refs log tree commit diff
path: root/pkgs/tools/networking/inetutils
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-12-16 22:56:44 +0000
committerLudovic Courtès <ludo@gnu.org>2009-12-16 22:56:44 +0000
commit9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef (patch)
tree6ab3771a1ecf8afa01d2da71f4f50f1427cab46e /pkgs/tools/networking/inetutils
parent28eef7beaa5f594bd380db883bfd57de0c43e3a5 (diff)
downloadnixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar.gz
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar.bz2
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar.lz
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar.xz
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.tar.zst
nixlib-9ba4676ae1b72bfe1ffdad71fb428c6faa7461ef.zip
GNU Inetutils 1.7.
svn path=/nixpkgs/trunk/; revision=19005
Diffstat (limited to 'pkgs/tools/networking/inetutils')
-rw-r--r--pkgs/tools/networking/inetutils/default.nix26
1 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/tools/networking/inetutils/default.nix b/pkgs/tools/networking/inetutils/default.nix
index caa91bdbe4b0..37c5f8db71d1 100644
--- a/pkgs/tools/networking/inetutils/default.nix
+++ b/pkgs/tools/networking/inetutils/default.nix
@@ -1,13 +1,19 @@
-{stdenv, fetchurl}:
+{ stdenv, fetchurl, ncurses }:
 
 stdenv.mkDerivation rec {
-  name = "inetutils-1.6";
+  name = "inetutils-1.7";
 
   src = fetchurl {
     url = "mirror://gnu/inetutils/${name}.tar.gz";
-    sha256 = "1pjv2h8mwbyjrw75xn1k1z7ps4z4y0x6ljizwrzkh83n7d3xjaq5";
+    sha256 = "09v9nycqpc3j7bsi5aj4hm8gxw1xgxr4lz14brnzv0i80qqxjb7p";
   };
 
+  buildInputs = [ ncurses /* for `talk' */ ];
+
+  configureFlags = "--with-ncurses-include-dir=${ncurses}/include";
+
+  doCheck = true;
+
   postInstall = ''
     # XXX: These programs are normally installed setuid but since it
     # fails, they end up being non-executable, hence this hack.
@@ -17,13 +23,17 @@ stdenv.mkDerivation rec {
   meta = {
     description = "GNU Inetutils, a collection of common network programs";
 
-    longDescription = ''
-      GNU Inetutils is a collection of common network programs,
-      including telnet, FTP, RSH, rlogin and TFTP clients and servers,
-      among others.
-    '';
+    longDescription =
+      '' The GNU network utilities suite provides the
+         following tools: ftp(d), hostname, ifconfig, inetd, logger, ping, rcp,
+         rexec(d), rlogin(d), rsh(d), syslogd, talk(d), telnet(d), tftp(d),
+         traceroute, uucpd, and whois.
+      '';
 
     homepage = http://www.gnu.org/software/inetutils/;
     license = "GPLv3+";
+
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+    platforms = stdenv.lib.platforms.gnu;
   };
 }