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-05-16 13:54:48 +00:00
|
|
|
npmDepsHash = "sha256:1b9h37pvi3wm1ac4scdlz43n7nplns7qn44hxsf21cyhddvv0zc6";
|
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
|
|
|
|
'';
|
|
|
|
}
|