nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 869 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 gettext, 7 libev, 8 pcre2, 9 pkg-config, 10 udns, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "sniproxy"; 15 version = "0.7.0"; 16 17 src = fetchFromGitHub { 18 owner = "dlundquist"; 19 repo = "sniproxy"; 20 tag = finalAttrs.version; 21 hash = "sha256-TUXwixnBFdegYRzeXlLVno2M3gVXyCw5Jdfb9ulOROs="; 22 }; 23 24 patches = [ ./gettext-0.25.patch ]; 25 26 nativeBuildInputs = [ 27 autoreconfHook 28 pkg-config 29 ]; 30 buildInputs = [ 31 gettext 32 libev 33 pcre2 34 udns 35 ]; 36 37 meta = { 38 homepage = "https://github.com/dlundquist/sniproxy"; 39 description = "Transparent TLS and HTTP layer 4 proxy with SNI support"; 40 license = lib.licenses.bsd2; 41 maintainers = with lib.maintainers; [ 42 womfoo 43 raitobezarius 44 ]; 45 platforms = lib.platforms.linux; 46 mainProgram = "sniproxy"; 47 }; 48})