2007-07-09 08:23:16 +01:00
|
|
|
{stdenv, fetchurl, openssl}:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2007-07-09 08:23:16 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ncat-0.10rc3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-27 14:01:33 +01:00
|
|
|
url = mirror://sourceforge/nmap-ncat/ncat-0.10rc3.tar.gz;
|
2007-07-09 08:23:16 +01:00
|
|
|
sha256 = "1yb26ipxwhqkfannji90jxi38k35fal4ffx0jm5clr1a1rndjjzb";
|
|
|
|
};
|
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
patches = [./ncat-0.10rc3.patch];
|
2007-07-09 08:23:16 +01:00
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
buildInputs = [openssl];
|
2007-07-09 08:23:16 +01:00
|
|
|
|
|
|
|
CFLAGS = "-g";
|
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -D ncat $out/bin/ncat
|
|
|
|
install -D docs/man/ncat.1 $out/man/ncat.1
|
|
|
|
'';
|
2007-07-09 08:23:16 +01:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "A netcat implementation with IPv6 support";
|
2007-07-09 08:23:16 +01:00
|
|
|
};
|
|
|
|
}
|