2023-03-24 00:07:29 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext, libev, pcre, pkg-config, udns }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sniproxy";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "0.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dlundquist";
|
|
|
|
repo = "sniproxy";
|
|
|
|
rev = version;
|
2023-03-24 00:07:29 +00:00
|
|
|
sha256 = "sha256-htM9CrzaGnn1dnsWQ+0V6N65Og7rsFob3BlSc4UGfFU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gettext libev pcre udns ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-03-24 00:07:29 +00:00
|
|
|
homepage = "https://github.com/dlundquist/sniproxy";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Transparent TLS and HTTP layer 4 proxy with SNI support";
|
|
|
|
license = licenses.bsd2;
|
2023-03-24 00:07:29 +00:00
|
|
|
maintainers = with maintainers; [ womfoo raitobezarius ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "sniproxy";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|