about summary refs log tree commit diff
path: root/pkgs/tools/networking/netcat/default.nix
blob: 1443794b7447c65f5da2abe78270d02f4660b530 (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 = "https://netcat.sourceforge.net/";
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}