at 22.05-pre 26 lines 794 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, withDebug ? false }: 2 3stdenv.mkDerivation rec { 4 pname = "tinyproxy"; 5 version = "1.11.0"; 6 7 src = fetchFromGitHub { 8 sha256 = "13fhkmmrwzl657dq04x2wagkpjwdrzhkl141qvzr7y7sli8j0w1n"; 9 rev = version; 10 repo = "tinyproxy"; 11 owner = "tinyproxy"; 12 }; 13 14 # perl is needed for man page generation. 15 nativeBuildInputs = [ autoreconfHook perl ]; 16 17 configureFlags = lib.optionals withDebug [ "--enable-debug" ]; # Enable debugging support code and methods. 18 19 meta = with lib; { 20 homepage = "https://tinyproxy.github.io/"; 21 description = "A light-weight HTTP/HTTPS proxy daemon for POSIX operating systems"; 22 license = licenses.gpl2Only; 23 platforms = platforms.all; 24 maintainers = [ maintainers.carlosdagos ]; 25 }; 26}