# Local TeXLive package for scpzine.sty # Builds a texlivePackages-compatible derivation from the local .sty file. { lib, runCommand, texlive, }: let scpzine-src = ../assets/texmf/tex/latex/scpzine; in runCommand "texlive-scpzine" { passthru.tlDeps = with texlive; [ courier lm microtype parskip setspace ragged2e graphics wrapfig xcolor pgf # tikz booktabs tabularx tools # array soul textcase eso-pic hyperref fancyhdr environ geometry fontenc ]; tlType = "run"; } '' mkdir -p "$out/tex/latex/scpzine" cp ${scpzine-src}/scpzine.sty "$out/tex/latex/scpzine/" ''