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