2008-03-22 13:04:04 +00:00
|
|
|
args: with args;
|
2008-10-09 13:44:11 +01:00
|
|
|
|
2008-03-22 13:04:04 +00:00
|
|
|
rec {
|
|
|
|
name = "texlive-pgf-2007";
|
2008-10-09 13:44:11 +01:00
|
|
|
|
2008-03-22 13:04:04 +00:00
|
|
|
src = fetchurl {
|
2008-10-09 13:44:11 +01:00
|
|
|
url = "mirror://sourceforge/pgf/pgf-2.00.tar.gz";
|
|
|
|
sha256 = "0j57niag4jb2k0iyrvjsannxljc3vkx0iag7zd35ilhiy4dh6264";
|
2008-03-22 13:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [texLiveLatexXColor texLive];
|
|
|
|
|
|
|
|
phaseNames = ["doCopy"];
|
2009-05-20 00:25:58 +01:00
|
|
|
doCopy = fullDepEntry (''
|
2010-02-21 10:31:21 +00:00
|
|
|
ensureDir $out/share/
|
|
|
|
ensureDir $out/texmf/tex/generic/pgf
|
|
|
|
cp -r * $out/texmf/tex/generic/pgf
|
|
|
|
ln -s $out/texmf* $out/share/
|
2008-03-22 13:04:04 +00:00
|
|
|
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Extra components for TeXLive: graphics package";
|
2008-10-09 13:44:11 +01:00
|
|
|
|
|
|
|
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/;
|
2008-03-22 13:04:04 +00:00
|
|
|
};
|
|
|
|
}
|