nginx-sso: add passthru.tests

gstqt5
nyanloutre 2020-06-23 00:42:00 +02:00
parent ebd7fab521
commit ac0e4d1b88
No known key found for this signature in database
GPG Key ID: 194A92D1103ACB2A
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ buildGoPackage, fetchFromGitHub, stdenv }:
{ buildGoPackage, fetchFromGitHub, stdenv, nixosTests }:
buildGoPackage rec {
pname = "nginx-sso";
@ -19,6 +19,10 @@ buildGoPackage rec {
cp -R $src/frontend $out/share
'';
passthru.tests = {
inherit (nixosTests) nginx-sso;
};
meta = with stdenv.lib; {
description = "SSO authentication provider for the auth_request nginx module";
homepage = "https://github.com/Luzifer/nginx-sso";