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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
745 B
Nix
Raw Normal View History

2023-03-20 02:04:52 +03:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext, libev, pcre, pkg-config, udns }:
2016-05-08 18:58:54 +03:00
stdenv.mkDerivation rec {
pname = "sniproxy";
2023-03-20 02:04:52 +03:00
version = "0.6.1";
2016-05-08 18:58:54 +03:00
src = fetchFromGitHub {
owner = "dlundquist";
repo = "sniproxy";
rev = version;
2023-03-20 02:04:52 +03:00
sha256 = "sha256-htM9CrzaGnn1dnsWQ+0V6N65Og7rsFob3BlSc4UGfFU=";
2016-05-08 18:58:54 +03:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2017-06-20 08:43:14 +03:00
buildInputs = [ gettext libev pcre udns ];
2016-05-08 18:58:54 +03:00
meta = with lib; {
homepage = "https://github.com/dlundquist/sniproxy";
2016-05-08 18:58:54 +03:00
description = "Transparent TLS and HTTP layer 4 proxy with SNI support";
license = licenses.bsd2;
maintainers = with maintainers; [ womfoo raitobezarius ];
2016-05-08 18:58:54 +03:00
platforms = platforms.linux;
2023-11-27 04:17:53 +03:00
mainProgram = "sniproxy";
2016-05-08 18:58:54 +03:00
};
}