3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #235043 from nh2/grass-8.2.1

grass: 8.2.0 -> 8.2.1 and fix build failure
This commit is contained in:
Niklas Hambüchen 2023-06-01 10:43:29 +02:00 committed by GitHub
commit 0749e2b58c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,24 +6,33 @@
stdenv.mkDerivation rec {
pname = "grass";
version = "8.2.0";
version = "8.2.1";
src = with lib; fetchFromGitHub {
owner = "OSGeo";
repo = "grass";
rev = version;
sha256 = "sha256-VK9FCqIwHGmeJe5lk12lpAGcsC1aPRBiI+XjACXjDd4=";
hash = "sha256-U3PQd3u9i+9Bc7BSd0gK8Ss+iV9BT1xLBDrKydtl3Qk=";
};
nativeBuildInputs = [
pkg-config bison flex makeWrapper wrapGAppsHook
gdal geos libmysqlclient netcdf pdal
gdal # for `gdal-config`
geos # for `geos-config`
netcdf # for `nc-config`
libmysqlclient # for `mysql_config`
pdal # for `pdal-config`; remove with next version, see https://github.com/OSGeo/grass/pull/2851
] ++ (with python3Packages; [ python-dateutil numpy wxPython_4_2 ]);
buildInputs = [
cairo zlib proj libtiff libpng fftw sqlite
readline ffmpeg postgresql blas wxGTK32
proj-datumgrid zstd
gdal
geos
netcdf
libmysqlclient
pdal
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
strictDeps = true;