2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-01-25 12:48:11 +00:00
|
|
|
name = "socat-1.7.3.0";
|
2013-04-12 13:01:01 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
2015-01-25 12:48:11 +00:00
|
|
|
sha256 = "011ydc0x8camplf8l6mshs3v5fswarld8v0wf7grz6rjq18fhrq7";
|
2009-11-18 09:39:59 +00:00
|
|
|
};
|
|
|
|
|
2010-06-14 08:01:38 +00:00
|
|
|
buildInputs = [ openssl ];
|
2013-04-12 13:01:01 +00:00
|
|
|
|
2015-01-25 12:48:11 +00:00
|
|
|
patches = [ ./enable-ecdhe.patch ];
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
meta = {
|
2013-04-12 13:01:01 +00:00
|
|
|
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-04-12 16:37:45 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-04-12 13:01:01 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-09-13 11:51:39 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2009-11-18 09:39:59 +00:00
|
|
|
};
|
|
|
|
}
|