nginx-sso: add passthru.tests

This commit is contained in:
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

View file

@ -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";