1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/tools/networking/socat/default.nix

24 lines
688 B
Nix
Raw Normal View History

2016-06-13 12:08:18 +01:00
{ stdenv, fetchurl, openssl, readline }:
stdenv.mkDerivation rec {
name = "socat-1.7.3.2";
2013-04-12 14:01:01 +01:00
src = fetchurl {
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
sha256 = "0lcj6zpra33xhgvhmz9l3cqz10v8ybafb8dd1yqkwf1rhy01ymp3";
};
2016-06-13 12:08:18 +01:00
buildInputs = [ openssl readline ];
2013-04-12 14:01:01 +01:00
hardeningEnable = [ "pie" ];
2016-02-26 16:45:49 +00:00
meta = {
2013-04-12 14:01:01 +01:00
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;
platforms = stdenv.lib.platforms.unix;
2013-04-12 14:01:01 +01:00
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}