about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix')
-rw-r--r--nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix b/nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix
new file mode 100644
index 000000000000..56e50e444081
--- /dev/null
+++ b/nixpkgs/pkgs/tools/typesetting/tex/pgf/2.x.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "pgf-2.00";
+
+  src = fetchurl {
+    url = mirror://sourceforge/pgf/pgf-2.00.tar.gz;
+    sha256 = "0j57niag4jb2k0iyrvjsannxljc3vkx0iag7zd35ilhiy4dh6264";
+  };
+
+  dontBuild = true;
+
+  installPhase = "
+    mkdir -p $out/share/texmf-nix
+    cp -prd * $out/share/texmf-nix
+  ";
+
+  meta = with stdenv.lib; {
+    branch = "2";
+    platforms = platforms.unix;
+    license = licenses.gpl2;
+  };
+}