depot/nix/pkgs/authentik/webui/default.nix

18 lines
387 B
Nix

{ pkgs, src, version, ... }:
pkgs.buildNpmPackage {
pname = "authentik-webui";
inherit src version;
sourceRoot = "source/web";
npmDepsHash = "sha256:1b9h37pvi3wm1ac4scdlz43n7nplns7qn44hxsf21cyhddvv0zc6";
dontNpmInstall = true;
installPhase = ''
runHook preInstall
mkdir $out
cp -r robots.txt security.txt dist/ authentik/ $out
runHook postInstall
'';
}