Subject: [bug#58911] [PATCH 1/2] gnu: Add cl-zr-utils.

From: jgart <[email-masked]>
Date: Sun, 30 Oct 2022 19:08:45 -0500

* gnu/packages/lisp-xyz.scm (cl-zr-utils, ecl-zr-utils, sbcl-zr-utils): New variables.

---
 gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9a7821a129..95a0a49863 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -24269,6 +24269,45 @@ (define-public cl-definitions-systems
 (define-public ecl-definitions-systems
   (sbcl-package->ecl-package sbcl-definitions-systems))
 
+(define-public sbcl-zr-utils
+  (let ((commit "e7eaffcb71811f6e1ab85fb15a079bcac4038eeb")
+        (revision "0"))
+    (package
+      (name "sbcl-zr-utils")
+      (version (git-version "0.0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/zombie-raptor/zr-utils.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+           (base32
+            "1nx388974wdc49h3simr1jnv4rw1mcs2llv4xai88qwjf4y66hsy"))))
+      (build-system asdf-build-system/sbcl)
+      ;; No test or package found for :ZR-UTILS/TESTS/ALL.
+      (arguments '(#:tests? #f))
+      (native-inputs (list sbcl-parachute))
+      (inputs
+        (list sbcl-alexandria
+              sbcl-babel
+              sbcl-closer-mop
+              sbcl-cl-unicode
+              sbcl-trivial-gray-streams))
+      (synopsis "Library originating from the Zombie Raptor game engine project")
+      (description
+"A Common Lisp utilities library originating from the Zombie Raptor game
+engine project.")
+      (home-page "https://gitlab.com/zombie-raptor/zr-utils")
+      (license license:expat))))
+
+(define-public cl-zr-utils
+  (sbcl-package->cl-source-package sbcl-zr-utils))
+
+(define-public ecl-zr-utils
+  (sbcl-package->ecl-package sbcl-zr-utils))
+
 (define-public sbcl-draw-cons-tree
   (let ((commit "04334f5885a85cd7127db8dda3f6d6686a0438b1")
         (revision "0"))
-- 
2.38.1