2008-08-19 07:54:09 +02:00
|
|
|
args : with args; with builderDefs;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function (rec {
|
2008-02-03 09:53:47 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-1.0.tar.bz2;
|
|
|
|
sha256 = "01l28zv1yal58ilfnz6albdzqqxzsx3a58vmc14r9gv0bahffdgb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
});
|
2008-02-03 09:53:47 +01:00
|
|
|
in with localDefs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nc6-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs
|
|
|
|
[doConfigure doMakeInstall doForceShare doPropagate]);
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A netcat implementation with IPv6 support";
|
2008-02-03 09:53:47 +01:00
|
|
|
homepage = "http://www.deepspace6.net/projects/netcat6.html";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2008-02-03 09:53:47 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|