agtest/docs/default.nix
2021-10-04 10:40:28 -05:00

15 lines
299 B
Nix

{ stdenvNoCC, nix-gitignore, sphinx, furo }:
stdenvNoCC.mkDerivation {
name = "agtest-docs";
src = nix-gitignore.gitignoreSource [ ../.gitignore ] ./..;
buildInputs = [ sphinx furo ];
buildPhase = ''
make -C docs html
'';
installPhase = ''
cp -r docs/_build/html $out
'';
}