Skip to content

Commit

Permalink
Merge pull request #4373 from AndersonTorres/pgf
Browse files Browse the repository at this point in the history
PGF: "upgrade" to version 3.00
  • Loading branch information
7c6f434c committed Oct 3, 2014
2 parents 499c510 + bf560ce commit d2dfc6a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/tools/typesetting/tex/pgf/3.x.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{stdenv, fetchurl, unzip}:

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

src = fetchurl {
url = http://downloads.sourceforge.net/project/pgf/pgf/version%203.0.0/pgf_3.0.0.tds.zip;
sha256 = "0kj769hyp4z2zmdv3f8xv443wcfqn5nkkbzxzqgfxjizlz81aav7";
};

buildInputs = [ unzip ];

# Multiple files problem
unpackPhase = ''
mkdir pgf
cd pgf
unzip $src
'';

buildPhase = "true";

installPhase = "
mkdir -p $out/share/texmf-nix
cp -prd * $out/share/texmf-nix
";
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11919,6 +11919,8 @@ let

pgf2 = callPackage ../tools/typesetting/tex/pgf/2.x.nix { };

pgf3 = callPackage ../tools/typesetting/tex/pgf/3.x.nix { };

pgfplots = callPackage ../tools/typesetting/tex/pgfplots { };

phabricator = callPackage ../misc/phabricator { };
Expand Down

0 comments on commit d2dfc6a

Please sign in to comment.