From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 11/22] gnu: Add perl-test-files. Date: Wed, 27 Jul 2016 22:54:12 +1000 Message-ID: <055d71d913c8076407fdc8228912190cc6b5305f.1469622379.git.donttrustben@gmail.com> References: <20160727125423.7768-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMn-0008Uf-R6 for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSOMl-0004Uk-Nk for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:16 -0400 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]:36673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMl-0004UU-GZ for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:15 -0400 Received: by mail-pa0-x244.google.com with SMTP id ez1so1745616pab.3 for ; Wed, 27 Jul 2016 05:55:15 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id o80sm9177941pfa.67.2016.07.27.05.55.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 05:55:13 -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-test-files): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 199b2ee..590ddf4 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5486,6 +5486,31 @@ Test::Exception. It does much less, but should allow greater flexibility in testing exception-throwing code with about the same amount of typing.") (license (package-license perl)))) +(define-public perl-test-files + (package + (name "perl-test-files") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/P/PH/PHILCROW/Test-Files-" + version + ".tar.gz")) + (sha256 + (base32 + "1zn33yigznq7i1jr4yjr4lxvc6bn7znkbqdzj7slhc146pqapkln")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-algorithm-diff" ,perl-algorithm-diff) + ("perl-text-diff" ,perl-text-diff))) + (home-page "http://search.cpan.org/dist/Test-Files") + (synopsis "Ease software testing with files and directories") + (description "This library provides functions to enable testing of files +and directories. For instance, the @code{file_ok} helper can test whether the +contents of a file is equal to a particular string.") + (license (package-license perl)))) + (define-public perl-test-harness (package (name "perl-test-harness") -- 2.9.1