Abandon separate TeXLive-associated PGF package, make it a reference to pgf3

This commit is contained in:
Michael Raskin 2015-04-26 21:49:21 +03:00
parent 39d8b61a25
commit 52b47982ff
2 changed files with 1 additions and 44 deletions

View File

@ -1,41 +0,0 @@
args: with args;
rec {
name = "texlive-pgf-2010";
src = fetchurl {
url = "mirror://debian/pool/main/p/pgf/pgf_2.10.orig.tar.gz";
sha256 = "642092e6b49df9e33bd901ac7eb7024ff235a29f43d27e78e5827ca3bc03f120";
};
propagatedBuildInputs = [texLiveLatexXColor texLive];
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
mkdir -p $out/share/
mkdir -p $out/texmf-dist/tex/generic/pgf
cp -r * $out/texmf-dist/tex/generic/pgf
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {
description = "Extra components for TeXLive: graphics package";
longDescription = ''
PGF is a macro package for creating graphics. It is platform-
and format-independent and works together with the most
important TeX backend drivers, including pdftex and dvips. It
comes with a user-friedly syntax layer called TikZ.
Its usage is similar to pstricks and the standard picture
environment. PGF works with plain (pdf-)TeX, (pdf-)LaTeX, and
ConTeXt. Unlike pstricks , it can produce either PostScript or
PDF output.
'';
license = [ "GPLv2" "LPPLv1.3c" ];
homepage = http://tug.ctan.org/tex-archive/graphics/pgf/;
};
}

View File

@ -14152,9 +14152,7 @@ let
inherit texLive;
};
texLivePGF = builderDefsPackage (import ../tools/typesetting/tex/texlive/pgf.nix) {
inherit texLiveLatexXColor texLive;
};
texLivePGF = pgf3;
texLiveBeamer = builderDefsPackage (import ../tools/typesetting/tex/texlive/beamer.nix) {
inherit texLiveLatexXColor texLivePGF texLive;