2022-05-12 22:55:10 +00:00
|
|
|
{ pkgs, src, version, ... }:
|
|
|
|
|
2022-12-03 23:36:14 +00:00
|
|
|
pkgs.buildNpmPackage rec {
|
|
|
|
pname = "authentik-docs";
|
|
|
|
inherit src version;
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2022-12-03 23:36:14 +00:00
|
|
|
sourceRoot = "source/website";
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2024-01-01 17:13:02 +00:00
|
|
|
npmDepsHash = "sha256:1sa7yb4vrkxj26rn4pxrhjm7blw63k0kd43lwsvrz7nc9g20bn71";
|
2022-12-03 23:36:14 +00:00
|
|
|
npmBuildFlags = "-- --config docusaurus.docs-only.js";
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2022-12-03 23:36:14 +00:00
|
|
|
dontNpmInstall = true;
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-05-12 22:55:10 +00:00
|
|
|
|
2022-12-03 23:36:14 +00:00
|
|
|
cp -r build $out
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
}
|