Subject: [bug#63866] [PATCH 11/16] gnu: Add perl-encode-newlines.

From: gemmaro <[email-masked]>
Date: Sat, 3 Jun 2023 14:05:46 +0900

* gnu/packages/perl.scm (perl-encode-newlines): New variable.
---
 gnu/packages/perl.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5a0a58910f9..aa302df478a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4266,6 +4266,26 @@ (define-public perl-encode-hanextra
 \"UNISYS\".")
     (license license:expat)))
 
+(define-public perl-encode-newlines
+  (package
+    (name "perl-encode-newlines")
+    (version "0.05")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/N/NE/NEILB/Encode-Newlines-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1gipd3wnma28w5gjbzycfkpi6chksy14lhxkp4hwizf8r351zcrl"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Encode-Newlines")
+    (synopsis "Normalize line ending sequences")
+    (description
+     "This module provides the @code{CR}, @code{LF}, @code{CRLF} and
+@code{Native} encodings, to aid in normalizing line endings.")
+    (license license:perl-license)))
+
 (define-public perl-env-path
   (package
     (name "perl-env-path")
-- 
2.40.1