2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, docutils, libev, openssl, pkg-config, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "hitch";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://hitch-tls.org/source/${pname}-${version}.tar.gz";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-38mUhLx//qJ6MWnoTWwheYjtpHsgirLlUk3Cpd0Vj04=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ docutils libev openssl ];
|
|
|
|
|
|
|
|
outputs = [ "out" "doc" "man" ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
passthru.tests.hitch = nixosTests.hitch;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Libev-based high performance SSL/TLS proxy by Varnish Software";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://hitch-tls.org/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.jflanglois ];
|
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "hitch";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|