summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/pgf/1.x.nix
blob: 9215a1e0ac4863052802b3e7cfed41be12deb6ee (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
{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "pgf-1.18";

  src = fetchurl {
    url = mirror://sourceforge/pgf/pgf-1.18.tar.gz;
    sha256 = "0s6b8rx9yfxcjjg18vx1mphnwbd28fl5lnq0dasjz40pp3ypwdjv";
  };

  dontBuild = true;

  installPhase = "
    mkdir -p $out/share/texmf-nix
    cp -prd * $out/share/texmf-nix
  ";

  meta = with stdenv.lib; {
    branch = "1";
    platforms = platforms.unix;
    license = licenses.gpl2;
  };
}