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
|
|
|
|
2022-12-04 02:30:53 +00:00
|
|
|
npmDepsHash = "sha256:0s60hqjy97vmgiql0aypxq8qkax40z97v539szambg0q0zbrrg4a";
|
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
|
|
|
|
'';
|
|
|
|
}
|