depot/nix/pkgs/authentik/docs/default.nix

21 lines
403 B
Nix
Raw Normal View History

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