Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
914 B
Nix
43 lines
914 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "vouch-proxy";
|
|
version = "0.45.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vouch";
|
|
repo = "vouch-proxy";
|
|
tag = "v${version}";
|
|
hash = "sha256-xI9xucRb2D2a1Fvp5DetB4ln3C020qSGEVnuIpy1TMI=";
|
|
};
|
|
|
|
vendorHash = "sha256-hieN3RJA0eBqlYxJj6hKgpQhq8s3vg/fPzxW0XSrlPA=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
preCheck = ''
|
|
export VOUCH_ROOT=$PWD
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/vouch/vouch-proxy";
|
|
description = "SSO and OAuth / OIDC login solution for NGINX using the auth_request module";
|
|
changelog = "https://github.com/vouch/vouch-proxy/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
leona
|
|
erictapen
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "vouch-proxy";
|
|
};
|
|
}
|