diff options
| author | Maxime Dénès | 2018-03-09 15:21:08 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-03-09 15:21:08 +0100 |
| commit | 6c43c26a98ea197e9c07b03b76e1916b9f94bb00 (patch) | |
| tree | a5947c776abf9eb7b2f5e4e85a098c1758390a82 /default.nix | |
| parent | 0b3a458ecf2cfbe8cd2905d28f2459bd16240a18 (diff) | |
| parent | 0416ed84caf37bc482214b4213be88d405c9b4ce (diff) | |
Merge PR #6818: Sphinx doc infrastructure
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/default.nix b/default.nix index af2a13a842..2011bf574c 100644 --- a/default.nix +++ b/default.nix @@ -22,7 +22,7 @@ # a symlink to where Coq was installed. { pkgs ? (import <nixpkgs> {}), ocamlPackages ? pkgs.ocamlPackages, - buildIde ? true, doCheck ? true }: + buildIde ? true, buildDoc ? true, doCheck ? true }: with pkgs; @@ -43,6 +43,15 @@ stdenv.mkDerivation rec { # CoqIDE dependencies ocamlPackages.lablgtk + ] else []) ++ (if buildDoc then [ + + # Sphinx doc dependencies + ocamlPackages.lablgtk + pkgconfig (python3.withPackages + (ps: [ ps.sphinx ps.sphinx_rtd_theme ps.pexpect ps.beautifulsoup4 + ps.antlr4-python3-runtime ps.sphinxcontrib-bibtex ])) + antlr4 + ] else []) ++ (if doCheck then # Test-suite dependencies |
