2016-01-07 21:25:17 +00:00
|
|
|
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
|
|
|
|
let
|
|
|
|
env = with pkgs.haskellPackages; [
|
|
|
|
pandoc
|
2016-01-08 10:44:37 +00:00
|
|
|
pandoc-crossref
|
2016-01-07 21:25:17 +00:00
|
|
|
|
|
|
|
(pkgs.texlive.combine {
|
|
|
|
inherit (pkgs.texlive)
|
2016-01-08 12:41:09 +00:00
|
|
|
scheme-basic
|
|
|
|
|
|
|
|
amsfonts
|
|
|
|
amsmath
|
|
|
|
lm
|
|
|
|
ifxetex
|
|
|
|
ifluatex
|
|
|
|
eurosym
|
|
|
|
listings
|
|
|
|
fancyvrb
|
|
|
|
# longtable
|
|
|
|
booktabs
|
|
|
|
|
|
|
|
# no graphics...
|
|
|
|
# graphicx
|
|
|
|
# grffile
|
|
|
|
|
|
|
|
hyperref
|
|
|
|
ulem
|
|
|
|
geometry
|
|
|
|
setspace
|
|
|
|
babel
|
|
|
|
|
2016-07-30 18:53:12 +00:00
|
|
|
subfig
|
|
|
|
caption
|
|
|
|
|
2016-01-08 12:41:09 +00:00
|
|
|
# optionals
|
|
|
|
upquote
|
|
|
|
microtype
|
|
|
|
csquotes
|
|
|
|
|
|
|
|
# We have no citation support
|
|
|
|
# natbib
|
|
|
|
# biblatex
|
|
|
|
# bibtex
|
|
|
|
# biber
|
|
|
|
|
|
|
|
# some more, not listed in the pandoc docs
|
|
|
|
mathtools
|
|
|
|
enumitem
|
2016-01-07 21:25:17 +00:00
|
|
|
;
|
|
|
|
})
|
|
|
|
|
|
|
|
pkgs.lmodern
|
2016-07-30 18:59:49 +00:00
|
|
|
|
|
|
|
pkgs.which
|
2016-01-07 21:25:17 +00:00
|
|
|
];
|
|
|
|
in
|
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "imag-doc";
|
2018-01-22 18:55:05 +00:00
|
|
|
src = /var/empty;
|
2016-01-07 21:25:17 +00:00
|
|
|
version = "0.0.0";
|
|
|
|
|
|
|
|
buildInputs = [ env ];
|
|
|
|
|
|
|
|
}
|
|
|
|
|