Files
nixpkgs/pkgs/by-name/ss/ssl-proxy/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
1.1 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "ssl-proxy";
version = "0.2.7-unstable-2024-02-05";
src = fetchFromGitHub {
owner = "suyashkumar";
repo = "ssl-proxy";
rev = "6b0f364be9bbf0de46520a6b85d30792fcc3cb80";
hash = "sha256-tYAsz99YCOOEyxPp8Yp+PTn+q2Edir+xy4Vs0yyHWOQ=";
};
vendorHash = "sha256-PQ465+4AcH0wP4z2GsGdf/yABaGezaPq+eM0U2lu13o=";
checkTarget = "test";
meta = {
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 = lib.licenses.mit;
mainProgram = "ssl-proxy";
maintainers = [ lib.maintainers.konst-aa ];
platforms = lib.platforms.linux ++ lib.platforms.darwin ++ lib.platforms.windows;
};
}