gnu: Add perl-file-slurper.

* gnu/packages/perl.scm (perl-file-slurper): New variable.
This commit is contained in:
Ben Woodcroft 2016-07-12 15:29:55 +10:00
parent 5eec378b79
commit 8a525c3f08
No known key found for this signature in database
GPG Key ID: E44DCCD146E0CCF4
1 changed files with 23 additions and 0 deletions

View File

@ -2423,6 +2423,29 @@ files with a simple call. It also has a subroutine for reading the list of
file names in a directory.") file names in a directory.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perl-file-slurper
(package
(name "perl-file-slurper")
(version "0.008")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/L/LE/LEONT/File-Slurper-"
version
".tar.gz"))
(sha256
(base32
"0cyjspspms6zyjcqz9v18dbs574g085h2jzjh41xvsrc1qa8bxhh"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-perlio-utf8_strict" ,perl-perlio-utf8_strict)))
(home-page "http://search.cpan.org/dist/File-Slurper")
(synopsis "Simple, sane and efficient module to slurp a file")
(description "This module provides functions for fast and correct file
slurping and spewing. All functions are optionally exported.")
(license (package-license perl))))
(define-public perl-file-slurp-tiny (define-public perl-file-slurp-tiny
(package (package
(name "perl-file-slurp-tiny") (name "perl-file-slurp-tiny")