at 16.09-beta 41 lines 1.2 kB view raw
1{ stdenv, fetchurl, ncurses }: 2 3stdenv.mkDerivation rec { 4 name = "inetutils-1.9.4"; 5 6 src = fetchurl { 7 url = "mirror://gnu/inetutils/${name}.tar.gz"; 8 sha256 = "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"; 9 }; 10 11 buildInputs = [ ncurses /* for `talk' */ ]; 12 13 configureFlags = "--with-ncurses-include-dir=${ncurses.dev}/include"; 14 15 # Test fails with "UNIX socket name too long", probably because our 16 # $TMPDIR is too long. 17 #doCheck = true; 18 19 postInstall = '' 20 # XXX: These programs are normally installed setuid but since it 21 # fails, they end up being non-executable, hence this hack. 22 chmod +x $out/bin/{ping,ping6,rcp,rlogin,rsh,traceroute} 23 ''; 24 25 meta = { 26 description = "Collection of common network programs"; 27 28 longDescription = 29 '' The GNU network utilities suite provides the 30 following tools: ftp(d), hostname, ifconfig, inetd, logger, ping, rcp, 31 rexec(d), rlogin(d), rsh(d), syslogd, talk(d), telnet(d), tftp(d), 32 traceroute, uucpd, and whois. 33 ''; 34 35 homepage = http://www.gnu.org/software/inetutils/; 36 license = stdenv.lib.licenses.gpl3Plus; 37 38 maintainers = [ ]; 39 platforms = stdenv.lib.platforms.gnu; 40 }; 41}