diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2014-10-02 10:34:02 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@gmail.com> | 2014-10-03 00:37:43 -0300 |
commit | bf560ce49644f89df1a688d9efa583fcf4a26623 (patch) | |
tree | 3788fe38de052cf7e929da57927a1d8418d0b6ed /pkgs/tools/typesetting/tex | |
parent | 499c51016ef67bd0b158528dbff17ed6ecedd78b (diff) | |
download | nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar.gz nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar.bz2 nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar.lz nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar.xz nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.tar.zst nixlib-bf560ce49644f89df1a688d9efa583fcf4a26623.zip |
PGF: "upgrade" to version 3.00
It is not so properly an update, because the old versions will not be obliterated from Nixpkgs. Hello backwards compatibility, my old friend...
Diffstat (limited to 'pkgs/tools/typesetting/tex')
-rw-r--r-- | pkgs/tools/typesetting/tex/pgf/3.x.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/pgf/3.x.nix b/pkgs/tools/typesetting/tex/pgf/3.x.nix new file mode 100644 index 000000000000..9a03500bb962 --- /dev/null +++ b/pkgs/tools/typesetting/tex/pgf/3.x.nix @@ -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 + "; +} |