Skip to content

Instantly share code, notes, and snippets.

@disassembler
Created January 3, 2019 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disassembler/e52c5ecf6e2b8092223f1c3aeb9ef9cc to your computer and use it in GitHub Desktop.
Save disassembler/e52c5ecf6e2b8092223f1c3aeb9ef9cc to your computer and use it in GitHub Desktop.
{ pkgs ? import ../pkgs.nix
}:
with pkgs;
stdenv.mkDerivation {
name = "docsEnv";
buildInputs = [ (texlive.combine {
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
# git info
gitinfo2
# build tools
latexmk
;
})
gitMinimal
];
src = ./.;
buildPhase = "make";
meta = with lib; {
description = "Byron Ledger Specification";
license = licenses.bsd3;
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment