summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 12:08:00 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commit83e825a16eca8e17023221fa55dc08b289cf70be (patch)
tree61e7ddd3e93e1d4acc8275fb8ef8774eb70b368d /gnu/packages/perl.scm
parent5ec8ec83f657bba46ffc67a9ed75f188190fccc6 (diff)
downloadguix-83e825a16eca8e17023221fa55dc08b289cf70be.tar.gz
gnu: Add Stream-Buffered.
* gnu/packages/perl.scm (perl-stream-buffered): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 8421e3c1df..abbc22d3e4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1591,6 +1591,27 @@ codes.")
     ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
     (license (list (package-license perl) x11 bsd-3))))
 
+(define-public perl-stream-buffered
+  (package
+    (name "perl-stream-buffered")
+    (version "0.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
+                           "Stream-Buffered-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fs2n9zw6isfkha2kbqrvl9mwg572x1x0jlfaps0qsyynn846bcv"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Stream-Buffered")
+    (synopsis "Temporary buffer to save bytes")
+    (description "Stream::Buffered is a buffer class to store arbitrary length
+of byte strings and then get a seekable filehandle once everything is
+buffered.  It uses PerlIO and/or temporary file to save the buffer depending
+on the length of the size.")
+    (license (package-license perl))))
+
 (define-public perl-sub-exporter
   (package
     (name "perl-sub-exporter")