Skip to content
Snippets Groups Projects
Commit a2bb032e authored by Jens Nolte's avatar Jens Nolte
Browse files

Update nginx-sso to 0.23.0

parent df3c88e6
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ let ...@@ -10,6 +10,7 @@ let
dotnet-sdk = callPackage ./dotnet-sdk { }; dotnet-sdk = callPackage ./dotnet-sdk { };
haskell-ide-engine = (import ./haskell-ide-engine { inherit pkgs; }).haskell-ide-engine; haskell-ide-engine = (import ./haskell-ide-engine { inherit pkgs; }).haskell-ide-engine;
neovim = (import ./neovim {inherit pkgs; }).neovim; neovim = (import ./neovim {inherit pkgs; }).neovim;
nginx-sso = callPackage ./nginx-sso {};
}; };
in newpkgs in newpkgs
{ buildGoPackage, fetchFromGitHub, stdenv }:
buildGoPackage rec {
pname = "nginx-sso";
version = "0.23.0";
rev = "v${version}";
goPackagePath = "github.com/Luzifer/nginx-sso";
src = fetchFromGitHub {
inherit rev;
owner = "Luzifer";
repo = "nginx-sso";
sha256 = "1wfk56xnjbx7cwrryrl3jy8zw7sz8akq55nsxiq2i6h3vafy4yaz";
};
postInstall = ''
mkdir -p $bin/share
cp -R $src/frontend $bin/share
'';
meta = with stdenv.lib; {
description = "SSO authentication provider for the auth_request nginx module";
homepage = https://github.com/Luzifer/nginx-sso;
license = licenses.asl20;
platforms = platforms.unix;
};
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment