Merge pull request #295605 from r-ryantm/auto-update/saga

saga: 9.3.1 -> 9.3.2
This commit is contained in:
Ivan Mincik 2024-03-14 12:05:04 +00:00 committed by GitHub
commit 7858badcfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 12 deletions

View File

@ -9,7 +9,7 @@
, gdal
, wxGTK32
, proj
, dxflib
, libsForQt5
, curl
, libiodbc
, xz
@ -17,7 +17,7 @@
, opencv
, vigra
, postgresql
, Cocoa
, darwin
, unixODBC
, poppler
, hdf5
@ -31,11 +31,11 @@
stdenv.mkDerivation rec {
pname = "saga";
version = "9.3.1";
version = "9.3.2";
src = fetchurl {
url = "mirror://sourceforge/saga-gis/saga-${version}.tar.gz";
sha256 = "sha256-QrpEbb8zN003Afnu9UZUanWE0lIiy95POSWd1jB8EtA=";
sha256 = "sha256-741O6C7amxSnOOTledF0izmVhiT79tFI4+EOtpNqP2Q=";
};
sourceRoot = "saga-${version}/saga-gis";
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
buildInputs = [
curl
dxflib
libsForQt5.dxflib
fftw
libsvm
hdf5
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
# for why the have additional buildInputs on darwin
++ lib.optionals stdenv.isDarwin [
Cocoa
darwin.apple_sdk.frameworks.Cocoa
unixODBC
poppler
netcdf
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DOpenMP_SUPPORT=${if stdenv.isDarwin then "OFF" else "ON"}"
(lib.cmakeBool "OpenMP_SUPPORT" (!stdenv.isDarwin))
];
meta = with lib; {

View File

@ -29909,11 +29909,6 @@ with pkgs;
qmapshack = libsForQt5.callPackage ../applications/gis/qmapshack { };
saga = callPackage ../applications/gis/saga {
inherit (darwin.apple_sdk.frameworks) Cocoa;
inherit (libsForQt5) dxflib;
};
spatialite_gui = callPackage ../applications/gis/spatialite-gui {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit;
wxGTK = wxGTK32;