mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
cfff8a9c1a
svn path=/nixpkgs/trunk/; revision=11765
26 lines
752 B
Nix
26 lines
752 B
Nix
args : with args;
|
|
rec {
|
|
src = /* Here a fetchurl expression goes */
|
|
fetchurl {
|
|
url = http://www.dest-unreach.org/socat/download/socat-2.0.0-b1.tar.bz2;
|
|
sha256 = "0ybd5fw22icl10r33k987rskh9gvysm1jph90a1pfdjj57cy44fk";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|