summary refs log tree commit diff
path: root/pkgs/applications/gis
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2023-06-25 21:04:33 +0400
committerNikolay Korotkiy <sikmir@disroot.org>2023-06-25 23:26:16 +0400
commitc4cf696adc1562a686e7244e1534eb5a2f6924c2 (patch)
tree8ddf98036892688273d550383ae2961266589ee2 /pkgs/applications/gis
parent420e1df79c490d55000da346716b59bf687b0562 (diff)
downloadnixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar.gz
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar.bz2
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar.lz
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar.xz
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.tar.zst
nixpkgs-c4cf696adc1562a686e7244e1534eb5a2f6924c2.zip
saga: misc improvements, add geospatial team to maintainers
Diffstat (limited to 'pkgs/applications/gis')
-rw-r--r--pkgs/applications/gis/saga/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/gis/saga/default.nix b/pkgs/applications/gis/saga/default.nix
index 00802bb7fe3..4e4d6211b82 100644
--- a/pkgs/applications/gis/saga/default.nix
+++ b/pkgs/applications/gis/saga/default.nix
@@ -1,9 +1,9 @@
 { stdenv
-, mkDerivation
 , lib
 , fetchurl
 # native
 , cmake
+, desktopToDarwinBundle
 , pkg-config
 # not native
 , gdal
@@ -29,12 +29,12 @@
 , fftw
 }:
 
-mkDerivation rec {
+stdenv.mkDerivation rec {
   pname = "saga";
   version = "9.0.2";
 
   src = fetchurl {
-    url = "mirror://sourceforge/saga-gis/SAGA%20-%20${lib.versions.major version}/SAGA%20-%20${version}/saga-${version}.tar.gz";
+    url = "mirror://sourceforge/saga-gis/saga-${version}.tar.gz";
     sha256 = "sha256-dyqunuROQlF1Lo/XsNj9QlN7WbimksfT1s8TrqB9PXE=";
   };
 
@@ -43,7 +43,7 @@ mkDerivation rec {
   nativeBuildInputs = [
     cmake
     pkg-config
-  ];
+  ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
 
   buildInputs = [
     curl
@@ -79,9 +79,9 @@ mkDerivation rec {
 
   meta = with lib; {
     description = "System for Automated Geoscientific Analyses";
-    homepage = "http://www.saga-gis.org";
+    homepage = "https://saga-gis.sourceforge.io";
     license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ michelk mpickering ];
+    maintainers = with maintainers; teams.geospatial.members ++ [ michelk mpickering ];
     platforms = with platforms; unix;
   };
 }