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 {
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "1.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "hitch";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://hitch-tls.org/source/${pname}-${version}.tar.gz";
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9";
|
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;
|
|
|
|
};
|
|
|
|
}
|