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

21 lines
583 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
2013-04-12 15:01:01 +02:00
name = "socat-1.7.2.1";
src = fetchurl {
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
2013-04-12 15:01:01 +02:00
sha256 = "0xw2qmmixv7jwsrgx2vy54bq695d6my3pm3z4dcpmf9vqvb2xsps";
};
buildInputs = [ openssl ];
2013-04-12 15:01:01 +02:00
meta = {
2013-04-12 15:01:01 +02:00
description = "A utility for bidirectional data transfer between two independent data channels";
homepage = http://www.dest-unreach.org/socat/;
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2;
maintainers = stdenv.lib.maintainers.eelco;
};
}