about summary refs log tree commit diff
path: root/pkgs/misc/tex/texlive/beamer.nix
blob: 5ff2c89316a1004c3c6097c541c32498d8333f15 (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-2007";
  src = fetchurl {
    url = mirror://debian/pool/main/l/latex-beamer/latex-beamer_3.07.orig.tar.gz;
    sha256 = "07ldhg5f0hcnhjgzg5g8ailqacn8zhqc8nl2jkxc43c2qxbvswbv";
  };

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

    ensureDir $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";
  };
}