nixpkgs/pkgs/tools/networking/socat/default.nix

24 lines
699 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
name = "socat-1.7.3.1";
2013-04-12 14:01:01 +01:00
src = fetchurl {
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
sha256 = "1apvi7sahcl44arnq1ad2y6lbfqnmvx7nhz9i3rkk0f382anbnnj";
};
buildInputs = [ openssl ];
2013-04-12 14:01:01 +01:00
patches = [ ./enable-ecdhe.patch ./libressl-fixes.patch ];
meta = {
2013-04-12 14:01:01 +01: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;
platforms = stdenv.lib.platforms.unix;
2013-04-12 14:01:01 +01:00
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}