2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl }:
|
2013-11-04 18:27:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-27 18:10:06 +00:00
|
|
|
name = "socat-2.0.0-b9";
|
2013-11-04 18:27:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
2016-02-27 18:10:06 +00:00
|
|
|
sha256 = "1ll395xjv4byvv0k2zjbxk8vp3mg3y2w5paa05wv553bqsjv1vs9";
|
2013-11-04 18:27:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
patches = lib.singleton ./libressl-fixes.patch ;
|
2015-11-26 15:07:55 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-11-04 18:27:57 +00:00
|
|
|
description = "A utility for bidirectional data transfer between two independent data channels";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.dest-unreach.org/socat/";
|
|
|
|
repositories.git = "git://repo.or.cz/socat.git";
|
2015-11-26 15:07:55 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2019-08-21 19:31:57 +01:00
|
|
|
broken = true; # broken with openssl 1.1
|
2013-11-04 18:27:57 +00:00
|
|
|
};
|
|
|
|
}
|