nixpkgs/pkgs/tools/typesetting/tex/pgfplots/default.nix
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00

22 lines
411 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "pgfplots-1.5.1";
src = fetchurl {
url = mirror://sourceforge/pgfplots/pgfplots_1.5.1.tds.zip;
sha256 = "1xajrmq35i0qlsfwydy5zzg6f1jg88hqqh5b3xsmglzrarnllbdi";
};
buildInputs = [ unzip ];
unpackPhase = "unzip $src";
dontBuild = true;
installPhase = "
mkdir -p $out/share/texmf-nix
cp -prd * $out/share/texmf-nix
";
}