anchor.diff:      description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization";
       license = stdenv.lib.licenses.gpl2Plus;
       platforms = stdenv.lib.platforms.all;
  -    broken = true;
     };
   }
  
positive.code: }:
  
  stdenv.mkDerivation {
    name = "grass-7.0.2";
    src = fetchurl {
      url = http://grass.osgeo.org/grass70/source/grass-7.0.2.tar.gz;
      sha256 = "02qrdgn46gxr60amxwax4b8fkkmhmjxi6qh4yfvpbii6ai6diarf";
    };
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
    readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.client blas ]
      ++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
  
    configureFlags = [
  
negative.code:   '';
  
    postInstall = ''
      wrapProgram $out/bin/grass72 \
      --set PYTHONPATH $PYTHONPATH \
      --set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \
      --suffix LD_LIBRARY_PATH ':' '${gdal}/lib'
  