depot/nix/pkgs/authentik/default.nix

21 lines
576 B
Nix

{ pkgs, ... }@args:
let
version = "2022.5.2-lukegb";
src = pkgs.fetchFromGitHub {
owner = "lukegb";
repo = "authentik";
rev = "2f60f75f8d34eea8c49475a230c44c64cc3be1e0";
hash = "sha256:0qld4s2liaps6dclpa557i0ds9z9w1g7fw5l3rk38w9xm57dmfj1";
};
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;
});
}