mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
32 lines
607 B
Nix
32 lines
607 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
mkNginxPlugin,
|
|
hiredis,
|
|
jansson,
|
|
}:
|
|
mkNginxPlugin (finalAttrs: {
|
|
pname = "oidc";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kjdev";
|
|
repo = "nginx-oidc";
|
|
rev = finalAttrs.version;
|
|
fetchSubmodules = true;
|
|
hash = "sha256-/zvE28uVYOKNx7htlg5meiQegvFupbSkhhA6l+5KDHs=";
|
|
};
|
|
|
|
buildInputs = [
|
|
hiredis
|
|
jansson
|
|
];
|
|
|
|
meta = {
|
|
description = "nginx module for the OIDC";
|
|
homepage = "https://github.com/kjdev/nginx-oidc";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ nyanloutre ];
|
|
};
|
|
})
|