summary refs log tree commit diff
path: root/pkgs/misc/tex/texlive/pgf.nix
blob: 01be99b95011dc61355081c3fa39ab9484baaf0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/texmf/tex/generic/pgf
    cp -r * $out/share/texmf/tex/generic/pgf
  '') ["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/;
  };
}