depot/nix/pkgs/authentik/default.nix

21 lines
579 B
Nix

{ pkgs, ... }@args:
let
version = "2023.10.5.2-lukegb";
src = pkgs.fetchFromGitHub {
owner = "lukegb";
repo = "authentik";
rev = "9ea1129ca7948641649ec7f9e7199dbd63aa41d1";
hash = "sha256:1bipfilavgbfdx4ypidf5vh69mnqamy0ibppdp0kkj9dcdnyva9w";
};
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;
});
}