aboutsummaryrefslogtreecommitdiff
path: root/pkgs/scpzine-texlive.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-28 20:57:57 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-28 20:57:57 +0200
commit4ae6a65545888e6d0fb25b59331b9ba91e37c676 (patch)
tree376ba4328453b6723909bd1c231df24bb3dc114c /pkgs/scpzine-texlive.nix
parent372a69681523bcfa87d08165f43875b90c3b1f60 (diff)
parentbe64e545d9f78ad23712eae2230711fab2eb9766 (diff)
Merge branch 'main' of 10.0.0.37:/srv/git/NixOS-config
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/"
+ ''