summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive/beamer.nix
blob: bf9079ab10465815b5b7b926208e377e4b5031c5 (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
args: with args;
rec {
  name = "texlive-beamer-2012";
  src = fetchurl {
    url = mirror://debian/pool/main/l/latex-beamer/latex-beamer_3.10.orig.tar.gz;
    sha256 = "1vk7nr1lxinyj941nz5xzcpzircd60s8sgmq7jd2gqmf5ynd27nx";
  };

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

    mkdir -p $out/texmf-dist/tex/latex/beamer
    cp -r * $out/texmf-dist/tex/latex/beamer 

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

  meta = {
    description = "Extra components for TeXLive: beamer class";
  };
}