From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 07/22] gnu: Add perl-file-slurper. Date: Wed, 27 Jul 2016 22:54:08 +1000 Message-ID: <366f21ea88fa3faf58a66716e9231dab6ce96611.1469622379.git.donttrustben@gmail.com> References: <20160727125423.7768-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMe-0008JU-40 for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSOMa-0004L7-1i for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:08 -0400 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]:36666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMZ-0004L2-R2 for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:03 -0400 Received: by mail-pa0-x243.google.com with SMTP id ez1so1745380pab.3 for ; Wed, 27 Jul 2016 05:55:03 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id o80sm9177941pfa.67.2016.07.27.05.55.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 05:55:01 -0700 (PDT) In-Reply-To: <20160727125423.7768-1-donttrustben@gmail.com> In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/perl.scm (perl-file-slurper): New variable. --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d37a1a3..6a7b02d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2404,6 +2404,29 @@ files with a simple call. It also has a subroutine for reading the list of file names in a directory.") (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 (package (name "perl-file-slurp-tiny") -- 2.9.1