summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-14 11:19:11 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-14 12:19:43 +0200
commitf463868898ea4d263635c20b9e7821b9366e41ee (patch)
tree83967baad3d253f3490211f26c41ab24637bced9 /gnu/packages
parent689769961124cc75345175e42c46cfd65da57b19 (diff)
downloadguix-f463868898ea4d263635c20b9e7821b9366e41ee.tar.gz
gnu: Add perl-data-section-simple.
* gnu/packages/perl.scm (perl-data-section-simple): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 60a2008636..f201755870 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2673,6 +2673,27 @@ like split on newlines unless newlines are embedded in quotes.")
 of data out of your DATA section.")
     (license (package-license perl))))
 
+(define-public perl-data-section-simple
+  (package
+    (name "perl-data-section-simple")
+    (version "0.07")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
+                           "Data-Section-Simple-" version ".tar.gz"))
+       (sha256
+        (base32 "1jx9g5sxcw0i2zkm2z895k422i49kpx0idnnvvvs36lhvgzkac0b"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-requires" ,perl-test-requires)))
+    (home-page "https://metacpan.org/release/Data-Section-Simple")
+    (synopsis "Read data from __DATA__")
+    (description
+     "Data::Section::Simple is a simple module to extract data from __DATA__
+section of the file.")
+    (license perl-license)))
+
 (define-public perl-data-stag
   (package
     (name "perl-data-stag")