mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bbd6e56d69
svn path=/nixpkgs/trunk/; revision=18554
30 lines
801 B
Nix
30 lines
801 B
Nix
args : with args;
|
|
let
|
|
version = "2.0.0-b3";
|
|
patches = [];
|
|
in
|
|
rec {
|
|
src = /* Here a fetchurl expression goes */
|
|
fetchurl {
|
|
url = http://www.dest-unreach.org/socat/download/socat-2.0.0-b3.tar.bz2;
|
|
sha256 = "0p4v8m898dzcardsw02xdda3y3b1rky7v956rm27x43783w5qmsx";
|
|
};
|
|
|
|
buildInputs = [openssl];
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
|
|
|
name = "socat-" + version;
|
|
meta = {
|
|
description = "Socat - a different replacement for netcat";
|
|
longDesc = "
|
|
Socat, one more analogue of netcat, but not mimicking it.
|
|
'netcat++' (extended design, new implementation)
|
|
";
|
|
homepage = "http://www.dest-unreach.org/socat/";
|
|
srcs = patches;
|
|
};
|
|
}
|