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