aboutsummaryrefslogtreecommitdiff
path: root/pkgs/scpzine-texlive.nix
blob: b9ce9109853d4083b7c97a728b5ea3573bb2ce14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/"
  ''