2013-11-04 18:27:57 +00:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-06 18:21:26 +00:00
|
|
|
name = "socat-2.0.0-b7";
|
2013-11-04 18:27:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
2014-02-06 18:21:26 +00:00
|
|
|
sha256 = "0h6k9ccrnziw03j0if7myrd28vcc97nwz1bifmbrkp5jkpk69ygk";
|
2013-11-04 18:27:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2014-07-24 21:15:07 +01:00
|
|
|
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6";
|
|
|
|
|
2013-11-04 18:27:57 +00:00
|
|
|
meta = {
|
|
|
|
description = "A utility for bidirectional data transfer between two independent data channels";
|
|
|
|
homepage = http://www.dest-unreach.org/socat/;
|
2014-03-13 07:09:19 +00:00
|
|
|
repositories.git = git://repo.or.cz/socat.git;
|
2014-07-24 21:15:07 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-11-04 18:27:57 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-09-13 12:51:39 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2013-11-04 18:27:57 +00:00
|
|
|
};
|
|
|
|
}
|