tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
grass: 7.0.2 -> 7.2.2, fix build
Robin Gloster
8 years ago
e2254dff
3acfd319
+9
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
gis
grass
default.nix
+9
-7
pkgs/applications/gis/grass/default.nix
···
4
}:
5
6
stdenv.mkDerivation {
7
-
name = "grass-7.0.2";
8
src = fetchurl {
9
-
url = http://grass.osgeo.org/grass70/source/grass-7.0.2.tar.gz;
10
-
sha256 = "02qrdgn46gxr60amxwax4b8fkkmhmjxi6qh4yfvpbii6ai6diarf";
11
};
12
13
nativeBuildInputs = [ pkgconfig ];
14
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
15
-
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.client blas ]
16
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
17
18
configureFlags = [
···
43
scripts/r.pack/r.pack.py \
44
scripts/r.tileset/r.tileset.py \
45
scripts/r.unpack/r.unpack.py \
46
-
scripts/v.krige/v.krige.py \
47
scripts/v.rast.stats/v.rast.stats.py \
48
scripts/v.to.lines/v.to.lines.py \
49
scripts/v.what.strds/v.what.strds.py \
50
scripts/v.unpack/v.unpack.py \
51
scripts/wxpyimgview/*.py \
52
gui/wxpython/animation/g.gui.animation.py \
0
53
gui/wxpython/rlisetup/g.gui.rlisetup.py \
54
gui/wxpython/vdigit/g.gui.vdigit.py \
55
temporal/t.rast.accumulate/t.rast.accumulate.py \
56
temporal/t.rast.accdetect/t.rast.accdetect.py \
0
0
0
57
temporal/t.select/t.select.py
58
for d in gui lib scripts temporal tools; do
59
patchShebangs $d
···
61
'';
62
63
postInstall = ''
64
-
wrapProgram $out/bin/grass70 \
65
--set PYTHONPATH $PYTHONPATH \
66
--set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \
67
--suffix LD_LIBRARY_PATH ':' '${gdal}/lib'
···
75
description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization";
76
license = stdenv.lib.licenses.gpl2Plus;
77
platforms = stdenv.lib.platforms.all;
78
-
broken = true;
79
};
80
}
···
4
}:
5
6
stdenv.mkDerivation {
7
+
name = "grass-7.2.2";
8
src = fetchurl {
9
+
url = http://grass.osgeo.org/grass72/source/grass-7.2.2.tar.gz;
10
+
sha256 = "0yzljbrxlqp4wbw08n1dvmm4vmwkg8glf1ff4xyh589r5ryb7gxv";
11
};
12
13
nativeBuildInputs = [ pkgconfig ];
14
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
15
+
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
16
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
17
18
configureFlags = [
···
43
scripts/r.pack/r.pack.py \
44
scripts/r.tileset/r.tileset.py \
45
scripts/r.unpack/r.unpack.py \
0
46
scripts/v.rast.stats/v.rast.stats.py \
47
scripts/v.to.lines/v.to.lines.py \
48
scripts/v.what.strds/v.what.strds.py \
49
scripts/v.unpack/v.unpack.py \
50
scripts/wxpyimgview/*.py \
51
gui/wxpython/animation/g.gui.animation.py \
52
+
gui/wxpython/datacatalog/g.gui.datacatalog.py \
53
gui/wxpython/rlisetup/g.gui.rlisetup.py \
54
gui/wxpython/vdigit/g.gui.vdigit.py \
55
temporal/t.rast.accumulate/t.rast.accumulate.py \
56
temporal/t.rast.accdetect/t.rast.accdetect.py \
57
+
temporal/t.rast.algebra/t.rast.algebra.py \
58
+
temporal/t.rast3d.algebra/t.rast3d.algebra.py \
59
+
temporal/t.vect.algebra/t.vect.algebra.py \
60
temporal/t.select/t.select.py
61
for d in gui lib scripts temporal tools; do
62
patchShebangs $d
···
64
'';
65
66
postInstall = ''
67
+
wrapProgram $out/bin/grass72 \
68
--set PYTHONPATH $PYTHONPATH \
69
--set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \
70
--suffix LD_LIBRARY_PATH ':' '${gdal}/lib'
···
78
description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization";
79
license = stdenv.lib.licenses.gpl2Plus;
80
platforms = stdenv.lib.platforms.all;
0
81
};
82
}