imag/doc/default.nix

68 lines
974 B
Nix
Raw Normal View History

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)
scheme-basic
amsfonts
amsmath
lm
ifxetex
ifluatex
eurosym
listings
fancyvrb
# longtable
booktabs
# no graphics...
# graphicx
# grffile
hyperref
ulem
geometry
setspace
babel
subfig
caption
# 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";
src = ./.;
version = "0.0.0";
buildInputs = [ env ];
}