aboutsummaryrefslogtreecommitdiff
path: root/pkgs/scpzine-texlive.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-24 10:34:44 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-24 10:35:29 +0200
commitc8fadfcf949b9a722a956f3f0bf08c1906d0e7e8 (patch)
tree0b5d0e8b76c0dadfd55845ab0496678c8fbf9e0d /pkgs/scpzine-texlive.nix
parentb8dfd233dbb16a65235865daf2d3a067ff44bb59 (diff)
Added scpzine as a latex package
Diffstat (limited to 'pkgs/scpzine-texlive.nix')
-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/"
+ ''