mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
d0637e1a25
Upstream fixed tests in https://github.com/vouch/vouch-proxy/commit/8eae4e5edc9
33 lines
777 B
Nix
33 lines
777 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vouch-proxy";
|
|
version = "0.37.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vouch";
|
|
repo = "vouch-proxy";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zXt1Xo6xq1g1putx4q6z7SEXK4lNGRgRnNPXajL5Znw=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-E1x1QTagXkL4NQ7REDuTHpUaadiz72e3jMLPVquSSV4=";
|
|
|
|
ldflags = [
|
|
"-s" "-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
preCheck = ''
|
|
export VOUCH_ROOT=$PWD
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vouch/vouch-proxy";
|
|
description = "An SSO and OAuth / OIDC login solution for NGINX using the auth_request module";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ leona erictapen ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|