Subject: [bug#73271] [PATCH] gnu: Add sbcl-cl-ewkb.

From: Roman Scherer <[email-masked]>
Date: Sun, 15 Sep 2024 10:37:16 +0200

* gnu/packages/lisp-xyz.scm (sbcl-cl-ewkb): New variable.

Change-Id: Iceb146ccee94b82703af706b059b3c0b35f29d86
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2e0dea522e..27fc96d592 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -14568,6 +14568,37 @@ (define-public cl-eventbus
 (define-public ecl-eventbus
   (sbcl-package->ecl-package sbcl-eventbus))
 
+(define-public sbcl-cl-ewkb
+  (let ((commit "e2c7976cdc2074d63038ecd7179025ccb8d8f0b7")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-ewkb")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/filonenko-mikhail/cl-ewkb")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1n1zm4i11638vh1a4m71690p4lpikkk0rp42j2yfvs5d9wi67cr1"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-ieee-floats sbcl-flexi-streams))
+      (home-page "https://github.com/filonenko-mikhail/cl-ewkb")
+      (synopsis "Common Lisp PostGIS EWKB library")
+      (description "This package is a geospatial library, based on cl-wkb,
+that implements the OGC Well-Known Binary geographic geometry data model with
+PostGIS 3d, 4d extensions, and provides WKB and EWKB encoding and decoding
+functionality.")
+      (license (list license:expat)))))
+
+(define-public cl-ewkb
+  (sbcl-package->cl-source-package sbcl-cl-ewkb))
+
+(define-public ecl-cl-ewkb
+  (sbcl-package->ecl-package sbcl-cl-ewkb))
+
 (define-public sbcl-exit-hooks
   ;; No release.
   (let ((commit "78050f4f55c138fcea86a9d720928782021b6012"))

base-commit: 66611696975409a52478b95a862a464daeaefe2a
-- 
2.46.0