grass: 7.0.2 -> 7.2.2, fix build

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