summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/pgfplots/default.nix
blob: 67739350c6f6a7da0d06c33880ff7176bcf0063b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{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";
  
  buildPhase = "true";
  
  installPhase = "
    mkdir -p $out/share/texmf-nix
    cp -prd * $out/share/texmf-nix
  ";
}