2022-05-19 14:39:52 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
2022-10-02 21:23:44 +00:00
|
|
|
pkgs.runCommand "resume.pdf"
|
2022-05-19 14:39:52 +00:00
|
|
|
{
|
|
|
|
buildInputs = [
|
|
|
|
(pkgs.texlive.combine {
|
|
|
|
inherit (pkgs.texlive)
|
|
|
|
capt-of
|
|
|
|
collection-fontsrecommended
|
|
|
|
enumitem
|
|
|
|
etoolbox
|
|
|
|
fancyvrb
|
|
|
|
float
|
|
|
|
fncychap
|
|
|
|
framed
|
|
|
|
l3packages
|
|
|
|
microtype
|
|
|
|
needspace
|
|
|
|
parskip
|
|
|
|
scheme-basic
|
|
|
|
tabulary
|
|
|
|
titlesec
|
|
|
|
ulem
|
|
|
|
upquote
|
|
|
|
varwidth
|
|
|
|
wrapfig
|
|
|
|
xcolor
|
|
|
|
;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
} ''
|
|
|
|
cp ${builtins.filterSource (path: type:
|
|
|
|
type == "regular" &&
|
|
|
|
any (ext: hasSuffix ext path) [".sty" ".cls" ".tex" ".png"]
|
|
|
|
) ./.}/* .
|
|
|
|
pdflatex ./resume.tex
|
|
|
|
cp resume.pdf $out
|
|
|
|
''
|