Subject: [bug#67428] [PATCH v2 07/12] gnu: Add cl-messagepack

From: Michal Atlas <[email-masked]>
Date: Fri, 24 Nov 2023 17:07:12 +0000

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

Change-Id: I529d438dc5b3031542b3825697581726abbac58f
---
 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 0e98347b29..2c82e188af 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20616,6 +20616,37 @@ (define-public ecl-priority-queue
 (define-public cl-priority-queue
   (sbcl-package->cl-source-package sbcl-priority-queue))
 
+(define-public sbcl-cl-messagepack
+  (let ((commit "8ff2060ed20677feef8ac01558690df0aeac30b6")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-messagepack")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mbrezu/cl-messagepack")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1hjd1q18lz46k46afz94ljflp76mfr30d6z4jrsgd26y2lc4gchc"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-flexi-streams sbcl-babel sbcl-closer-mop sbcl-cl-json))
+      (synopsis "Common Lisp implementation of Message Pack")
+      (description
+       "A Common Lisp implementation of the MessagePack (http://msgpack.org/)
+serialization/deserialization format,
+implemented according to http://wiki.msgpack.org/display/MSGPACK/Format+specification")
+      (home-page "https://github.com/mbrezu/cl-messagepack")
+      (license license:bsd-2))))
+
+(define-public ecl-cl-messagepack
+  (sbcl-package->ecl-package sbcl-cl-messagepack))
+
+(define-public cl-messagepack
+  (sbcl-package->cl-source-package sbcl-cl-messagepack))
+
 (define-public sbcl-messagebox
   (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
         (revision "1"))
-- 
2.41.0