nixpkgs/pkgs/tools/networking/socat/default.nix
Robin Gloster 8613060425 socat: add patch to fix build with libressl
This fixes the build for libressl >= 2.3 as some legacy openssl code has
been removed.
2015-12-23 22:08:33 +00:00

24 lines
699 B
Nix

{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
name = "socat-1.7.3.0";
src = fetchurl {
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
sha256 = "011ydc0x8camplf8l6mshs3v5fswarld8v0wf7grz6rjq18fhrq7";
};
buildInputs = [ openssl ];
patches = [ ./enable-ecdhe.patch ./libressl-fixes.patch ];
meta = {
description = "A utility for bidirectional data transfer between two independent data channels";
homepage = http://www.dest-unreach.org/socat/;
repositories.git = git://repo.or.cz/socat.git;
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}