nixpkgs/pkgs/applications/networking/sniproxy/default.nix

26 lines
682 B
Nix
Raw Normal View History

2017-06-20 05:43:14 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, gettext, libev, pcre, pkgconfig, udns }:
2016-05-08 15:58:54 +00:00
stdenv.mkDerivation rec {
name = "sniproxy-${version}";
2017-06-20 05:43:14 +00:00
version = "0.5.0";
2016-05-08 15:58:54 +00:00
src = fetchFromGitHub {
owner = "dlundquist";
repo = "sniproxy";
rev = version;
2017-06-20 05:43:14 +00:00
sha256 = "0nspisqdl0si5zpiiwkh9hhdy6h7lxw8l09rasflyawlmm680z1i";
2016-05-08 15:58:54 +00:00
};
2017-06-20 05:43:14 +00:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gettext libev pcre udns ];
2016-05-08 15:58:54 +00:00
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Transparent TLS and HTTP layer 4 proxy with SNI support";
license = licenses.bsd2;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}