summary refs log tree commit diff
path: root/pkgs/tools/networking/nc6/1.0.nix
blob: 5cba3ae017c894d8b4e3b1967d021e0f8c4a00c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
args : with args; with builderDefs;
let localDefs = builderDefs.passthru.function (rec {
    src = /* put a fetchurl here */
    fetchurl {
      url = ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-1.0.tar.bz2;
      sha256 = "01l28zv1yal58ilfnz6albdzqqxzsx3a58vmc14r9gv0bahffdgb";
    };

    buildInputs = [];
    configureFlags = [];
    });
in with localDefs;
stdenv.mkDerivation rec {
  name = "nc6-1.0";
  builder = writeScript (name + "-builder")
    (textClosure localDefs 
     [doConfigure doMakeInstall doForceShare doPropagate]);
  meta = {
    description = "A netcat implementation with IPv6 support";
    homepage = "http://www.deepspace6.net/projects/netcat6.html";
    inherit src;
  };
}