11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
16 sha256 = "sha256-tipFXh9VG5auWTI2/IC5rwMQFls7aZr6dkzhYTZZkXM=";
24 name = "CVE-2022-40468.patch";
25 url = "https://github.com/tinyproxy/tinyproxy/commit/3764b8551463b900b5b4e3ec0cd9bb9182191cb7.patch";
26 sha256 = "sha256-P0c4mUK227ld3703ss5MQhi8Vo2QVTCVXhKmc9fcufk=";
30 # perl is needed for man page generation.
31 nativeBuildInputs = [ autoreconfHook perl ];
33 configureFlags = lib.optionals withDebug [ "--enable-debug" ]; # Enable debugging support code and methods.
34 passthru.tests = { inherit (nixosTests) tinyproxy; };
37 homepage = "https://tinyproxy.github.io/";
38 description = "A light-weight HTTP/HTTPS proxy daemon for POSIX operating systems";
39 license = licenses.gpl2Only;
40 platforms = platforms.all;
41 maintainers = [ maintainers.carlosdagos ];
42 mainProgram = "tinyproxy";