depot/nix/pkgs/authentik/default.nix

21 lines
576 B
Nix

{ pkgs, ... }@args:
let
version = "2022.5.1-lukegb";
src = pkgs.fetchFromGitHub {
owner = "lukegb";
repo = "authentik";
rev = "770b6ce6908ca6300999eeb84d28837a3118ead1";
hash = "sha256:1al1ckavl2np0cz7qysmrp2jap3syc5m0fkdjz4289j9s2932czz";
};
subargs = args // { inherit src version; };
in rec {
inherit src;
docs = import ./docs subargs;
webui = import ./webui subargs;
pythonapp = import ./pythonapp subargs;
goserver = import ./goserver subargs;
server = import ./server (subargs // {
inherit docs webui pythonapp goserver;
});
}