2013-11-04 19:27:57 +01:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-27 19:10:06 +01:00
|
|
|
name = "socat-2.0.0-b9";
|
2013-11-04 19:27:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
2016-02-27 19:10:06 +01:00
|
|
|
sha256 = "1ll395xjv4byvv0k2zjbxk8vp3mg3y2w5paa05wv553bqsjv1vs9";
|
2013-11-04 19:27:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2014-07-24 22:15:07 +02:00
|
|
|
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6";
|
|
|
|
|
2015-11-26 16:07:55 +01:00
|
|
|
patches = stdenv.lib.singleton ./libressl-fixes.patch ;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-11-04 19:27:57 +01:00
|
|
|
description = "A utility for bidirectional data transfer between two independent data channels";
|
|
|
|
homepage = http://www.dest-unreach.org/socat/;
|
2014-03-13 08:09:19 +01:00
|
|
|
repositories.git = git://repo.or.cz/socat.git;
|
2015-11-26 16:07:55 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2013-11-04 19:27:57 +01:00
|
|
|
};
|
|
|
|
}
|