aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/scpzine-texlive.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/scpzine-texlive.nix b/pkgs/scpzine-texlive.nix
new file mode 100644
index 0000000..b9ce910
--- /dev/null
+++ b/pkgs/scpzine-texlive.nix
@@ -0,0 +1,38 @@
+# 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/"
+ ''