1 { lib, stdenv, fetchFromGitHub, fetchpatch, openssl, libevent, libpcap, libnet, zlib }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1p43z9ln5rbc76v0j1k3r4nhvfw71hq8jzsallb54z9hvwfvqp3l";
16 name = "fix-openssl-3-build.patch";
17 url = "https://github.com/droe/sslsplit/commit/e17de8454a65d2b9ba432856971405dfcf1e7522.patch";
18 hash = "sha256-sEwP7f2PSqXdMqLub9zrfQgH8I4oe9klVPzNpJjrPJ8=";
22 buildInputs = [ openssl libevent libpcap libnet zlib ];
26 "OPENSSL_BASE=${openssl.dev}"
27 "LIBEVENT_BASE=${libevent.dev}"
28 "LIBPCAP_BASE=${libpcap}"
29 "LIBNET_BASE=${libnet}"
33 description = "Transparent SSL/TLS interception";
34 homepage = "https://www.roe.ch/SSLsplit";
35 platforms = platforms.all;
36 maintainers = with maintainers; [ contrun ];
37 license = with licenses; [ bsd2 mit unlicense free ];
38 mainProgram = "sslsplit";