Subject: [PATCH v2 08/37] gnu: Add perl-data-messagepack.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:12:46 -0800

* gnu/packages/perl.scm (perl-data-messagepack): New variable.

Change-Id: I6f4a06500054483f171df097f59943a03fa3a9ae
---
 gnu/packages/perl.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 6314924868..a60841bb7c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2765,6 +2765,29 @@ (define-public perl-data-integer
 unsigned representations are handled.")
     (license license:perl-license)))
 
+(define-public perl-data-messagepack
+  (package
+    (name "perl-data-messagepack")
+    (version "1.02")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/S/SY/SYOHEX/Data-MessagePack-" version
+             ".tar.gz"))
+       (sha256
+        (base32 "1dxih8s9a5rd0vg0nd9i0gb0m5zyvxw26bl88x0jb3daj13v8gf3"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build perl-module-build-xsutil
+                         perl-test-requires))
+    (home-page "https://metacpan.org/release/Data-MessagePack")
+    (synopsis "MessagePack serializing/deserializing")
+    (description "MessagePack is a binary-based, efficient object
+serialization format.  It enables the exchange of structured objects between
+many languages.  In that sense it is similar to JSON.  But unlike JSON, it is
+very fast and small.")
+    (license license:perl-license)))
+
 (define-public perl-data-uniqid
   (package
     (name "perl-data-uniqid")
-- 
2.41.0