51 lines
644 B
Nix
51 lines
644 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
with pkgs;
|
|
|
|
let
|
|
latexPackage = pkgs.texlive.combine {
|
|
inherit (texlive)
|
|
|
|
# base packages
|
|
scheme-small
|
|
|
|
acro
|
|
amsmath
|
|
anyfontsize
|
|
biblatex
|
|
csquotes
|
|
dejavu
|
|
latexmk
|
|
# moderncv
|
|
# needspace
|
|
# fontawesome
|
|
fontspec
|
|
silence
|
|
translations
|
|
xpatch
|
|
# wrapfig
|
|
# enumitem
|
|
# mathpazo
|
|
;
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
latexPackage
|
|
|
|
pkgs.biber
|
|
# language correction
|
|
pkgs.languagetool
|
|
# detex script
|
|
pkgs.python
|
|
# make
|
|
pkgs.gnumake
|
|
# PDF viewer
|
|
pkgs.zathura
|
|
# dot
|
|
pkgs.graphviz
|
|
];
|
|
}
|