mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
24 lines
718 B
Nix
24 lines
718 B
Nix
{ stdenv, fetchurl, openssl, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "socat-1.7.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
|
sha256 = "1apvi7sahcl44arnq1ad2y6lbfqnmvx7nhz9i3rkk0f382anbnnj";
|
|
};
|
|
|
|
buildInputs = [ openssl readline ];
|
|
|
|
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 ];
|
|
};
|
|
}
|