summary refs log tree commit diff
path: root/pkgs/tools/networking/netcat/default.nix
blob: ef035d3c671ae2e3893e95a54797d5e5ab991a2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "netcat-gnu";
  version = "0.7.1";

  src = fetchurl {
    url = "mirror://sourceforge/netcat/netcat-${version}.tar.bz2";
    sha256 = "1frjcdkhkpzk0f84hx6hmw5l0ynpmji8vcbaxg8h5k2svyxz0nmm";
  };

  meta = with lib; {
    description = "Utility which reads and writes data across network connections";
    homepage = "http://netcat.sourceforge.net/";
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}