2022-05-12 22:55:10 +00:00
|
|
|
{ pkgs, src, version, ... }:
|
|
|
|
|
2022-12-03 23:45:07 +00:00
|
|
|
pkgs.buildNpmPackage {
|
|
|
|
pname = "authentik-webui";
|
|
|
|
inherit src version;
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2022-12-03 23:45:07 +00:00
|
|
|
sourceRoot = "source/web";
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2023-04-15 02:45:00 +00:00
|
|
|
npmDepsHash = "sha256:0gm7b80a9yinkcfzfq5s34lj7rm7v6fbbnk696ayghsr9yvcq6fl";
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2022-12-03 23:45:07 +00:00
|
|
|
dontNpmInstall = true;
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir $out
|
|
|
|
cp -r robots.txt security.txt dist/ authentik/ $out
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
}
|