mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
ea7c7d1932
svn path=/nixpkgs/trunk/; revision=20151
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
args: with args;
|
|
|
|
rec {
|
|
name = "texlive-pgf-2007";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pgf/pgf-2.00.tar.gz";
|
|
sha256 = "0j57niag4jb2k0iyrvjsannxljc3vkx0iag7zd35ilhiy4dh6264";
|
|
};
|
|
|
|
propagatedBuildInputs = [texLiveLatexXColor texLive];
|
|
|
|
phaseNames = ["doCopy"];
|
|
doCopy = fullDepEntry (''
|
|
ensureDir $out/share/
|
|
ensureDir $out/texmf/tex/generic/pgf
|
|
cp -r * $out/texmf/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/;
|
|
};
|
|
}
|