* PGF 2.00 (keeping the old one so that I can still build old documents).

svn path=/nixpkgs/trunk/; revision=12999
This commit is contained in:
Eelco Dolstra 2008-10-08 14:03:44 +00:00
parent 378a5c46d2
commit fe89cbbe7c
3 changed files with 26 additions and 1 deletions

17
pkgs/misc/tex/pgf/2.x.nix Normal file
View File

@ -0,0 +1,17 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "pgf-2.00";
src = fetchurl {
url = mirror://sourceforge/pgf/pgf-2.00.tar.gz;
sha256 = "0j57niag4jb2k0iyrvjsannxljc3vkx0iag7zd35ilhiy4dh6264";
};
buildPhase = "true";
installPhase = "
ensureDir $out/share/texmf-nix
cp -prd * $out/share/texmf-nix
";
}

View File

@ -7593,7 +7593,15 @@ let
wxGTK = wxGTK28;
};
pgf = import ../misc/tex/pgf {
pgf = pgf2;
# Keep the old PGF since some documents don't render properly with
# the new one.
pgf1 = import ../misc/tex/pgf/1.x.nix {
inherit fetchurl stdenv;
};
pgf2 = import ../misc/tex/pgf/2.x.nix {
inherit fetchurl stdenv;
};