nixpkgs/pkgs/tools/networking/socat/2.x.nix

24 lines
717 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
2015-07-16 22:27:04 +01:00
name = "socat-2.0.0-b8";
src = fetchurl {
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
2015-07-16 22:27:04 +01:00
sha256 = "1slkv1hhcp9a6c88h6yl5cs0z9g60fp2ja6865s6kywqp6fmf168";
};
buildInputs = [ openssl ];
2014-07-24 21:15:07 +01:00
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6";
meta = {
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-07-24 21:15:07 +01:00
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}