-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.nix
40 lines (31 loc) · 1.08 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ pkgs ? import ../../../nix/default.nix {} }:
with pkgs;
latex.buildLatex {
name = "cole-ledger-spec";
texFiles = [ "ledger-spec" ];
meta = with lib; {
description = "Cole Ledger Specification";
license = licenses.asl20;
platforms = platforms.linux;
};
src = latex.filterLatex ./.;
texInputs = {
inherit (texlive)
scheme-small
# libraries
stmaryrd lm-math amsmath extarrows cleveref semantic tikz-cd xcolor
# bclogo and dependencies
bclogo mdframed xkeyval etoolbox needspace pgf
# font libraries `mathpazo` seems to depend on palatino
# , but it isn't pulled.
mathpazo palatino microtype
# libraries for marginal notes
xargs todonotes
# build tools
latexmk
# Referencing
zref
;
};
buildInputs = [ gitMinimal ];
}