2008-05-07 09:22:04 +02:00
|
|
|
args : with args;
|
|
|
|
rec {
|
|
|
|
src = /* Here a fetchurl expression goes */
|
2008-02-03 12:03:54 +01:00
|
|
|
fetchurl {
|
2009-05-10 22:10:12 +02:00
|
|
|
url = http://www.dest-unreach.org/socat/download/socat-2.0.0-b3.tar.bz2;
|
|
|
|
sha256 = "0p4v8m898dzcardsw02xdda3y3b1rky7v956rm27x43783w5qmsx";
|
2008-02-03 12:03:54 +01:00
|
|
|
};
|
2008-05-07 09:22:04 +02:00
|
|
|
|
|
|
|
buildInputs = [openssl];
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
name = "socat-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Socat - a different replacement for netcat";
|
|
|
|
longDesc = "
|
2008-02-03 12:03:54 +01:00
|
|
|
Socat, one more analogue of netcat, but not mimicking it.
|
|
|
|
'netcat++' (extended design, new implementation)
|
|
|
|
";
|
|
|
|
homepage = "http://www.dest-unreach.org/socat/";
|
2008-05-07 09:22:04 +02:00
|
|
|
srcs = patches;
|
|
|
|
};
|
2008-02-03 12:03:54 +01:00
|
|
|
}
|