Subject: [PATCH 06/12] gnu: Add perl-data-dump-streamer.

From: Wilko Meyer <[email-masked]>
Date: Mon, 18 Dec 2023 18:03:06 +0100

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

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e14945d481..2847cd8188 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2880,6 +2880,28 @@ (define-public perl-data-dump
 code that, when \"eval\"ed, produces a deep copy of the original arguments.")
     (license (package-license perl))))
 
+(define-public perl-data-dump-streamer
+  (package
+    (name "perl-data-dump-streamer")
+    (version "2.42")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/Y/YV/YVES/Data-Dump-Streamer-" version
+             ".tar.gz"))
+       (sha256
+        (base32 "1b8w9l3d6g4jyc9f5fglbpc0q71f1kfilj013rbbxrswnhgybxj7"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-extutils-depends perl-module-build))
+    (propagated-inputs (list perl-algorithm-diff perl-b-utils
+                             perl-cpanel-json-xs perl-padwalker))
+    (home-page "https://metacpan.org/release/Data-Dump-Streamer")
+    (synopsis "Accurately serialize a data structure as Perl code.")
+    (description "@code{Data::Dump::Streamer} provides ways to accurately
+serialize a data structure as Perl code.")
+    (license license:perl-license)))
+
 (define-public perl-data-dumper
   (package
     (name "perl-data-dumper")
-- 
2.41.0