depot/nix/pkgs/authentik/default.nix

21 lines
576 B
Nix

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