blob: fe928615eb4292e5923d1f1bf2695f5b9ba084af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{lib, stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "pgfplots-1.5.1";
src = fetchurl {
url = "mirror://sourceforge/pgfplots/pgfplots_1.5.1.tds.zip";
sha256 = "1xajrmq35i0qlsfwydy5zzg6f1jg88hqqh5b3xsmglzrarnllbdi";
};
nativeBuildInputs = [ unzip ];
unpackPhase = "unzip $src";
dontBuild = true;
installPhase = "
mkdir -p $out/share/texmf-nix
cp -prd * $out/share/texmf-nix
";
meta = with lib; {
description = "TeX package to draw plots directly in TeX in two and three dimensions";
homepage = "http://pgfplots.sourceforge.net";
platforms = platforms.unix;
license = licenses.gpl3Plus;
};
}
|