mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
1.1 KiB
Nix
32 lines
1.1 KiB
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
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 = 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 ];
|
|
platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
|
|
};
|
|
}
|