18 lines
387 B
Nix
18 lines
387 B
Nix
{ pkgs, src, version, ... }:
|
|
|
|
pkgs.buildNpmPackage {
|
|
pname = "authentik-webui";
|
|
inherit src version;
|
|
|
|
sourceRoot = "source/web";
|
|
|
|
npmDepsHash = "sha256:0s60hqjy97vmgiql0aypxq8qkax40z97v539szambg0q0zbrrg4a";
|
|
|
|
dontNpmInstall = true;
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir $out
|
|
cp -r robots.txt security.txt dist/ authentik/ $out
|
|
runHook postInstall
|
|
'';
|
|
}
|