1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/tools/networking/ncat/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

26 lines
505 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 = "A netcat implementation with IPv6 support";
};
}