forked from M-Labs/artiq
1
0
Fork 0

flake: add docs dependencies

This commit is contained in:
Sebastien Bourdeauducq 2022-02-09 10:53:52 +08:00
parent 03a367f565
commit a0070d4396
1 changed files with 22 additions and 1 deletions

View File

@ -353,9 +353,28 @@
name = "openocd-bscanspi"; name = "openocd-bscanspi";
paths = [ openocd-fixed bscan_spi_bitstreams-pkg ]; paths = [ openocd-fixed bscan_spi_bitstreams-pkg ];
}; };
sphinxcontrib-wavedrom = pkgs.python3Packages.buildPythonPackage rec {
pname = "sphinxcontrib-wavedrom";
version = "3.0.2";
src = pkgs.python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-ukZd3ajt0Sx3LByof4R80S31F5t1yo+L8QUADrMMm2A=";
};
buildInputs = [ pkgs.python3Packages.setuptools_scm ];
propagatedBuildInputs = with pkgs.python3Packages; [ wavedrom sphinx xcffib cairosvg ];
};
artiq-manual-latex = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-basic latexmk cmap collection-fontsrecommended fncychap
titlesec tabulary varwidth framed fancyvrb float wrapfig parskip
upquote capt-of needspace etoolbox;
};
in rec { in rec {
packages.x86_64-linux = rec { packages.x86_64-linux = rec {
inherit sipyco pythonparser qasync migen misoc asyncserial microscope vivadoEnv vivado openocd-bscanspi artiq; inherit migen misoc asyncserial microscope vivadoEnv vivado;
inherit sipyco pythonparser qasync openocd-bscanspi artiq;
inherit sphinxcontrib-wavedrom artiq-manual-latex;
artiq-board-kc705-nist_clock = makeArtiqBoardPackage { artiq-board-kc705-nist_clock = makeArtiqBoardPackage {
target = "kc705"; target = "kc705";
variant = "nist_clock"; variant = "nist_clock";
@ -380,6 +399,8 @@
packages.x86_64-linux.vivadoEnv packages.x86_64-linux.vivadoEnv
packages.x86_64-linux.vivado packages.x86_64-linux.vivado
packages.x86_64-linux.openocd-bscanspi packages.x86_64-linux.openocd-bscanspi
pkgs.python3Packages.sphinx pkgs.python3Packages.sphinx_rtd_theme
pkgs.python3Packages.sphinx-argparse sphinxcontrib-wavedrom artiq-manual-latex
]; ];
}; };