about summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive/context.nix
blob: c0c702cd4189f4119aefb61fc3d1afd9d15c6f04 (plain) (blame)
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
args: with args;
rec {
  name = "context-2009.11.26";
  src = fetchurl {
    url = mirror://debian/pool/main/c/context/context_2009.11.26.orig.tar.gz;
    sha256 = "1qv3h97cyhjyvivs30fz9bqr77j348azagm7ijiyfrclvjjlwav9";
  };

  buildInputs = [texLive];
  phaseNames = ["doCopy"];
  doCopy = fullDepEntry (''
    mkdir -p $out/share/

    mkdir -p $out/texmf-dist
    cp -r * $out/texmf-dist

    ln -s $out/texmf* $out/share/
  '') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];

  meta = {
    description = "ConTEXt TeX wrapper";
  };

}