nixpkgs/pkgs/misc/tex/texlive/beamer.nix
Michael Raskin ea7c7d1932 Update TeXLive packages w.r.t. TeXLive2009 texmf vs. prefix layout
svn path=/nixpkgs/trunk/; revision=20151
2010-02-21 10:31:21 +00:00

25 lines
667 B
Nix

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