20 lines
403 B
Nix
20 lines
403 B
Nix
{ pkgs, src, version, ... }:
|
|
|
|
pkgs.buildNpmPackage rec {
|
|
pname = "authentik-docs";
|
|
inherit src version;
|
|
|
|
sourceRoot = "source/website";
|
|
|
|
npmDepsHash = "sha256:19yn1sm8nh6bvwnf60z0m93yr0vg29fqdr7zpf67rxci54k39liy";
|
|
npmBuildFlags = "-- --config docusaurus.docs-only.js";
|
|
|
|
dontNpmInstall = true;
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
cp -r build $out
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|