ec49c9872d
https://github.com/Luzifer/nginx-sso/releases/tag/v0.26.0
diff: https://github.com/Luzifer/nginx-sso/compare/v0.25.0...v0.26.0
`rune.patch` is no longer needed as of 89a1a2e565
37 lines
789 B
Nix
37 lines
789 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nginx-sso";
|
|
version = "0.26.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Luzifer";
|
|
repo = "nginx-sso";
|
|
rev = "v${version}";
|
|
hash = "sha256-vtbomeezW8PMv2lCR6PJqYw+PCFJ3M1SAQPGaIWouXY=";
|
|
};
|
|
|
|
vendorHash = "sha256-THTQhUgIfDDTgnR4qZxWFoGQzvqr3xrrz5ZxnV9ipBM=";
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share
|
|
cp -R $src/frontend $out/share
|
|
'';
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) nginx-sso;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "SSO authentication provider for the auth_request nginx module";
|
|
homepage = "https://github.com/Luzifer/nginx-sso";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ delroth ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|