Subject: [bug#71084] [PATCH 23/26] gnu: Add python-geopack.

From: Sharlatan Hellseher <[email-masked]>
Date: Mon, 20 May 2024 23:12:50 +0100

* gnu/packages/geo.scm (python-geopack): New variable.

Change-Id: I674b09030684dd0d9f94b4b87cf96aeea983ee89
---
 gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c9152fb4f8..69e7b58677 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -959,6 +959,32 @@ (define-public python-fiona
 pyproj, Rtree, and Shapely.")
     (license license:bsd-3)))
 
+(define-public python-geopack
+  (package
+    (name "python-geopack")
+    (version "1.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "geopack" version))
+       (sha256
+        (base32 "0mryjp7m4h99qlpvnn40s81sygr73qcv8rkmjp9pcli1gz829kjf"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX Reported upstream <https://github.com/tsssss/geopack/issues/21>.
+      #:tests? #f))
+    (native-inputs
+     (list python-pytest))
+    (propagated-inputs
+     (list python-numpy python-scipy))
+    (home-page "https://github.com/tsssss/geopack")
+    (synopsis "Python version of geopack and Tsyganenko models")
+    (description
+     "Python version of geopack and Tsyganenko models, compatible with
+@code{geopack05} and @code{geopack08}.")
+    (license license:expat)))
+
 (define-public python-geopandas
   (package
     (name "python-geopandas")
-- 
2.41.0