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 {
|
2019-08-15 15:41:18 +03:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2021-01-19 09:50:56 +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
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2023-03-20 02:21:53 +03:00
|
|
|
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;
|
2023-03-20 02:05:02 +03:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|