summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2022-07-06 18:14:08 +0000
committerLudovic Courtès <ludo@gnu.org>2022-07-18 00:21:32 +0200
commit4f5babf9361cb96545fa1908e740dd2f92c71357 (patch)
tree84eaf9ad871dde470d44cc3a2d25cf9eb3d8c2c2 /gnu
parentd58dc0fcd23c1bd496614e123f78493ab6e08bbe (diff)
downloadguix-4f5babf9361cb96545fa1908e740dd2f92c71357.tar.gz
gnu: saga: Update to 8.2.1.
* gnu/packages/geo.scm (saga): Update to 8.2.1.
  [build-system]: Use cmake-build-system.
  [arguments]: Set tests? to #f as there are no tests.
  Add phase for changing into saga-gis directory which contains the
  actual source code.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/geo.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 0c579a91d6..4f27aa60ee 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2331,7 +2331,7 @@ visualization.")
 (define-public saga
   (package
     (name "saga")
-    (version "7.9.0")
+    (version "8.2.1")
     (source
      (origin
        (method url-fetch)
@@ -2339,8 +2339,8 @@ visualization.")
                            (version-major version) "/SAGA%20-%20" version
                            "/saga-" version ".tar.gz"))
        (sha256
-        (base32 "1n051yxxkylly0k9rlkx2ih3j2lf9d4csg00sm7161r7nhjvggd1"))))
-    (build-system gnu-build-system)
+        (base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv"))))
+    (build-system cmake-build-system)
     (native-inputs
      (list pkg-config swig))
     (inputs
@@ -2360,7 +2360,12 @@ visualization.")
            vigra
            wxwidgets))
     (arguments
-     '(#:configure-flags '("--enable-python")))
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'cd-to-source-dir
+           (lambda _
+             (chdir "saga-gis"))))))
     (synopsis "System for Automated Geoscientific Analyses")
     (description
      "SAGA (System for Automated Geoscientific Analyses) is a Geographic