linux_intro/shell.nix

75 lines
923 B
Nix
Raw Normal View History

2022-10-03 18:38:51 +02:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
latexPackage = pkgs.texlive.combine {
inherit (texlive)
# base packages
scheme-small
acro
amsmath
anyfontsize
biblatex
chronology
csquotes
dejavu
isodate
latexmk
nth
siunitx
substr
tikzpagenodes
ifoddpage
subfigure
textpos
todonotes
units
# code listings
minted
fvextra
catchfile
xstring
framed
# moderncv
# needspace
# fontawesome
fontspec
silence
translations
xpatch
# wrapfig
# enumitem
# mathpazo
;
};
in
pkgs.mkShell {
buildInputs = [
latexPackage
pkgs.biber
# language correction
pkgs.languagetool
# detex script
pkgs.python3
# make
pkgs.gnumake
# PDF viewer
pkgs.zathura
# dot
pkgs.graphviz
pkgs.pygmentex
pkgs.python3Packages.pygments
];
}