mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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...
This commit is contained in:
parent
499c51016e
commit
bf560ce496
26
pkgs/tools/typesetting/tex/pgf/3.x.nix
Normal file
26
pkgs/tools/typesetting/tex/pgf/3.x.nix
Normal file
@ -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
|
||||||
|
";
|
||||||
|
}
|
@ -11919,6 +11919,8 @@ let
|
|||||||
|
|
||||||
pgf2 = callPackage ../tools/typesetting/tex/pgf/2.x.nix { };
|
pgf2 = callPackage ../tools/typesetting/tex/pgf/2.x.nix { };
|
||||||
|
|
||||||
|
pgf3 = callPackage ../tools/typesetting/tex/pgf/3.x.nix { };
|
||||||
|
|
||||||
pgfplots = callPackage ../tools/typesetting/tex/pgfplots { };
|
pgfplots = callPackage ../tools/typesetting/tex/pgfplots { };
|
||||||
|
|
||||||
phabricator = callPackage ../misc/phabricator { };
|
phabricator = callPackage ../misc/phabricator { };
|
||||||
|
Loading…
Reference in New Issue
Block a user