mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
8613060425
This fixes the build for libressl >= 2.3 as some legacy openssl code has been removed.
26 lines
760 B
Nix
26 lines
760 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "socat-2.0.0-b8";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
|
sha256 = "1slkv1hhcp9a6c88h6yl5cs0z9g60fp2ja6865s6kywqp6fmf168";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6";
|
|
|
|
patches = stdenv.lib.singleton ./libressl-fixes.patch ;
|
|
|
|
meta = with stdenv.lib; {
|
|
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 = platforms.unix;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.eelco ];
|
|
};
|
|
}
|