2021-05-19 08:42:04 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, withDebug ? false }:
|
2018-08-02 09:36:57 +01:00
|
|
|
|
2020-06-07 22:11:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tinyproxy";
|
2021-05-19 08:42:04 +01:00
|
|
|
version = "1.11.0";
|
2018-08-02 09:36:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-05-19 08:42:04 +01:00
|
|
|
sha256 = "13fhkmmrwzl657dq04x2wagkpjwdrzhkl141qvzr7y7sli8j0w1n";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-08-02 09:36:57 +01:00
|
|
|
repo = "tinyproxy";
|
|
|
|
owner = "tinyproxy";
|
|
|
|
};
|
|
|
|
|
2021-05-19 08:42:04 +01:00
|
|
|
# perl is needed for man page generation.
|
|
|
|
nativeBuildInputs = [ autoreconfHook perl ];
|
2018-08-02 09:36:57 +01:00
|
|
|
|
2021-05-19 08:42:04 +01:00
|
|
|
configureFlags = lib.optionals withDebug [ "--enable-debug" ]; # Enable debugging support code and methods.
|
2018-08-02 09:36:57 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://tinyproxy.github.io/";
|
2018-08-02 09:36:57 +01:00
|
|
|
description = "A light-weight HTTP/HTTPS proxy daemon for POSIX operating systems";
|
2021-05-19 08:42:04 +01:00
|
|
|
license = licenses.gpl2Only;
|
2018-08-02 09:36:57 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.carlosdagos ];
|
|
|
|
};
|
|
|
|
}
|