Subject: [PATCH] gnu: osm2pgsql: Update to 1.8.0.

From: Felix Gruber <[email-masked]>
Date: Sat, 11 Feb 2023 10:10:25 +0000

* gnu/packages/geo.scm (osm2pgsql): Update to 1.8.0.
[arguments]: Remove -DEXTERNAL_RAPIDJSON configure-flag, since osm2pgsql
1.8.0 does not use rapidjson anymore.
[inputs]: Remove rapidjson.
---
 gnu/packages/geo.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 097ced33e1..b9a617c009 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1415,7 +1415,7 @@ (define-public osmium-tool
 (define-public osm2pgsql
   (package
     (name "osm2pgsql")
-    (version "1.7.0")
+    (version "1.8.0")
     (source
      (origin
        (method git-fetch)
@@ -1424,7 +1424,7 @@ (define-public osm2pgsql
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "15fxr4xq7siy237763l7nswx7v0swr3qzs2h3zkjzgvajw4p6qii"))
+        (base32 "0ssz7ny4wx8dzl3027p37xc5h7m1aj6bzxzdc6g8fbp7q57ykvxz"))
        (modules '((guix build utils)))
        (snippet
         ;; Remove bundled libraries.
@@ -1435,8 +1435,7 @@ (define-public osm2pgsql
        #:configure-flags
        (list "-DEXTERNAL_LIBOSMIUM=ON"
              "-DEXTERNAL_PROTOZERO=ON"
-             "-DEXTERNAL_FMT=ON"
-             "-DEXTERNAL_RAPIDJSON=ON")))
+             "-DEXTERNAL_FMT=ON")))
     (inputs
      (list boost
            bzip2
@@ -1447,7 +1446,6 @@ (define-public osm2pgsql
            postgresql
            proj
            protozero
-           rapidjson
            zlib))
     (native-inputs
      (list python python-psycopg2))
-- 
2.39.1