guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/11: gnu: Add perl-mixin-linewise.


From: Ludovic Courtès
Subject: 06/11: gnu: Add perl-mixin-linewise.
Date: Sat, 2 Jul 2016 14:25:08 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 4ca06e4c87ad35a3b4b03c381a97171c37201b6e
Author: Alex Sassmannshausen <address@hidden>
Date:   Wed Jun 29 15:51:24 2016 +0200

    gnu: Add perl-mixin-linewise.
    
    * gnu/packages/perl.scm (perl-mixin-linewise): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/perl.scm |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c62c79a..7389b5e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2979,6 +2979,31 @@ from various sources.  For instance, it contains all 
IANA types and the
 knowledge of Apache.")
     (license (package-license perl))))
 
+(define-public perl-mixin-linewise
+  (package
+    (name "perl-mixin-linewise")
+    (version "0.108")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/R/RJ/RJBS/Mixin-Linewise-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1wmfr19w9y8qys7b32mnj1vmps7qwdahqas71a9p62ac8xw0dwkx"))))
+    (build-system perl-build-system)
+    (inputs
+     `(("perl-perlio-utf8_strict" ,perl-perlio-utf8_strict)
+       ("perl-sub-exporter" ,perl-sub-exporter)))
+    (home-page "http://search.cpan.org/dist/Mixin-Linewise";)
+    (synopsis "Write your linewise code for handles; this does the rest")
+    (description "It's boring to deal with opening files for IO, converting
+strings to handle-like objects, and all that.  With
address@hidden::Linewise::Readers} and @code{Mixin::Linewise::Writers}, you can
+just write a method to handle handles, and methods for handling strings and
+file names are added for you.")
+    (license (package-license perl))))
+
 (define-public perl-module-build-tiny
   (package
     (name "perl-module-build-tiny")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]