nginx-sso: add passthru.tests
This commit is contained in:
parent
ebd7fab521
commit
ac0e4d1b88
|
@ -1,4 +1,4 @@
|
||||||
{ buildGoPackage, fetchFromGitHub, stdenv }:
|
{ buildGoPackage, fetchFromGitHub, stdenv, nixosTests }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "nginx-sso";
|
pname = "nginx-sso";
|
||||||
|
@ -19,6 +19,10 @@ buildGoPackage rec {
|
||||||
cp -R $src/frontend $out/share
|
cp -R $src/frontend $out/share
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) nginx-sso;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "SSO authentication provider for the auth_request nginx module";
|
description = "SSO authentication provider for the auth_request nginx module";
|
||||||
homepage = "https://github.com/Luzifer/nginx-sso";
|
homepage = "https://github.com/Luzifer/nginx-sso";
|
||||||
|
|
Loading…
Reference in a new issue