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
2023-05-16 13:54:48 +00:00
npmDepsHash = "sha256:076ndnrs3iirpn618ziw8ybnrvajl47n53x5p8k9xxkd7dxngb0p";
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
'';
}