3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ncat/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

25 lines
542 B
Nix

{stdenv, fetchurl, openssl}:
stdenv.mkDerivation {
name = "ncat-0.10rc3";
src = fetchurl {
url = mirror://sourceforge/nmap-ncat/ncat-0.10rc3.tar.gz;
sha256 = "1yb26ipxwhqkfannji90jxi38k35fal4ffx0jm5clr1a1rndjjzb";
};
patches = [./ncat-0.10rc3.patch ];
buildInputs = [openssl ];
CFLAGS = "-g";
postInstall = "install -D ncat \${out}/bin/ncat ;
install -D docs/man/ncat.1 \${out}/man/ncat.1 ;";
meta = {
description = "
Ncat - some effort to join features from different `netcat's. Supports IPv6.
";
};
}