datasheets/shell.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

2021-07-27 17:10:27 +08:00
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
2022-07-08 16:38:57 +08:00
buildInputs = with pkgs;[
2021-07-27 17:10:27 +08:00
#pkgs.texlive.combined.scheme-small
(pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-small
collection-latexextra
collection-fontsextra
collection-fontsrecommended
palatino
textgreek
minted
tcolorbox
etoolbox
maths-symbols
greek-inputenc
babel
isodate
pst-graphicx
visualtikz
quantikz
tikz-feynman
pgfplots
cbfonts-fd
cbfonts
mathpazo
helvetic
circuitikz ;
# To compile, call:
# $ pdflatex -shell-escape xxx.tex
# if missing packages, you can search if the required tex packages is in nixpkgs or not from here
# https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/tools/typesetting/tex/texlive/pkgs.nix
# if available, just add it to the above list
})
2022-07-08 16:38:57 +08:00
python3
] ++ (with python3Packages; [
pygments
]);
2021-07-27 17:10:27 +08:00
}