2023-10-19 13:55:26 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
buildGoModule rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "ssl-proxy";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.2.7-unstable-2024-02-05";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "suyashkumar";
|
|
|
|
repo = "ssl-proxy";
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = "6b0f364be9bbf0de46520a6b85d30792fcc3cb80";
|
|
|
|
hash = "sha256-tYAsz99YCOOEyxPp8Yp+PTn+q2Edir+xy4Vs0yyHWOQ=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
vendorHash = "sha256-PQ465+4AcH0wP4z2GsGdf/yABaGezaPq+eM0U2lu13o=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/suyashkumar/ssl-proxy";
|
|
|
|
description = "Simple single-command SSL reverse proxy with autogenerated certificates (LetsEncrypt, self-signed)";
|
|
|
|
longDescription = ''
|
|
|
|
A handy and simple way to add SSL to your thing running on a VM--be it your personal jupyter
|
|
|
|
notebook or your team jenkins instance. ssl-proxy autogenerates SSL certs and proxies
|
|
|
|
HTTPS traffic to an existing HTTP server in a single command.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "ssl-proxy";
|
|
|
|
maintainers = [ maintainers.konst-aa ];
|
2024-02-07 01:22:34 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
}
|