Subject: [bug#63894] [PATCH 17/55] gnu: Add perl-data-messagepack.

From: Antero Mejr <[email-masked]>
Date: Sun, 4 Jun 2023 17:42:11 +0000

* gnu/packages/perl.scm (perl-data-messagepack): New variable.
---
 gnu/packages/perl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4a5456cb31..8abb2963d1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2797,6 +2797,31 @@ (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
+     "This module converts Perl data structures to MessagePack and vice versa.
+MessagePack is a binary-based efficient object serialization format. It
+enables to exchange structured objects between many languages like 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.39.2