1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "ssl-proxy";
9 version = "0.2.7-unstable-2024-02-05";
10
11 src = fetchFromGitHub {
12 owner = "suyashkumar";
13 repo = "ssl-proxy";
14 rev = "6b0f364be9bbf0de46520a6b85d30792fcc3cb80";
15 hash = "sha256-tYAsz99YCOOEyxPp8Yp+PTn+q2Edir+xy4Vs0yyHWOQ=";
16 };
17
18 vendorHash = "sha256-PQ465+4AcH0wP4z2GsGdf/yABaGezaPq+eM0U2lu13o=";
19
20 checkTarget = "test";
21
22 meta = with lib; {
23 homepage = "https://github.com/suyashkumar/ssl-proxy";
24 description = "Simple single-command SSL reverse proxy with autogenerated certificates (LetsEncrypt, self-signed)";
25 longDescription = ''
26 A handy and simple way to add SSL to your thing running on a VM--be it your personal jupyter
27 notebook or your team jenkins instance. ssl-proxy autogenerates SSL certs and proxies
28 HTTPS traffic to an existing HTTP server in a single command.
29 '';
30 license = licenses.mit;
31 mainProgram = "ssl-proxy";
32 maintainers = [ maintainers.konst-aa ];
33 platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
34 };
35}