masterthesis/shell.nix

69 lines
863 B
Nix
Raw Permalink Normal View History

2021-02-03 10:44:28 +01:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
latexPackage = pkgs.texlive.combine {
inherit (texlive)
# base packages
scheme-small
2021-10-18 12:59:29 +02:00
acro
2021-11-11 21:28:36 +01:00
amsmath
2021-10-18 12:59:29 +02:00
anyfontsize
biblatex
2022-02-27 21:19:38 +01:00
chronology
2021-02-03 10:44:28 +01:00
csquotes
2021-10-18 12:59:29 +02:00
dejavu
2022-03-17 19:20:38 +01:00
isodate
2021-02-03 10:44:28 +01:00
latexmk
2022-03-22 20:15:30 +01:00
nth
2022-02-27 21:19:38 +01:00
siunitx
2022-03-17 19:20:38 +01:00
substr
2022-03-08 20:15:29 +01:00
todonotes
2022-03-15 18:14:22 +01:00
units
2021-12-07 17:42:30 +01:00
# code listings
minted
fvextra
catchfile
xstring
framed
2021-10-18 12:59:29 +02:00
# moderncv
# needspace
# fontawesome
fontspec
2021-02-03 10:44:28 +01:00
silence
2021-10-18 12:59:29 +02:00
translations
2021-11-11 16:44:34 +01:00
xpatch
2021-10-18 12:59:29 +02:00
# wrapfig
# enumitem
# mathpazo
2021-02-03 10:44:28 +01:00
;
};
in
pkgs.mkShell {
buildInputs = [
latexPackage
2021-10-18 12:59:29 +02:00
pkgs.biber
2021-02-03 10:44:28 +01:00
# language correction
pkgs.languagetool
# detex script
2022-03-08 20:15:29 +01:00
pkgs.python3
2021-02-03 10:44:28 +01:00
# make
pkgs.gnumake
# PDF viewer
pkgs.zathura
2021-11-11 16:44:34 +01:00
# dot
pkgs.graphviz
2022-02-27 14:17:06 +01:00
pkgs.pygmentex
2022-04-09 18:09:14 +02:00
pkgs.python3Packages.pygments
2021-02-03 10:44:28 +01:00
];
}