From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: [PATCH 3/6] gnu: Add perl-date-manip. Date: Thu, 9 Jul 2015 19:38:06 -0500 Message-ID: <1436488689-4078-3-git-send-email-ericbavier@openmailbox.org> References: <1436488689-4078-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDQtv-0005bN-9r for guix-devel@gnu.org; Fri, 10 Jul 2015 01:31:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDQts-00027w-3i for guix-devel@gnu.org; Fri, 10 Jul 2015 01:31:07 -0400 Received: from smtp26.openmailbox.org ([62.4.1.60]:48939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDQtr-00027k-Tq for guix-devel@gnu.org; Fri, 10 Jul 2015 01:31:04 -0400 In-Reply-To: <1436488689-4078-1-git-send-email-ericbavier@openmailbox.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: Eric Bavier From: Eric Bavier * gnu/packages/perl.scm (perl-date-manip): 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 3d28455..9250feb 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1283,6 +1283,29 @@ applicable).") Date::Calc.") (license (list (package-license perl) lgpl2.0+)))) +(define-public perl-date-manip + (package + (name "perl-date-manip") + (version "6.50") + (source + (origin + (method url-fetch) + (uri (string-append "https://cpan.metacpan.org/authors/id/S/SB/SBECK/" + "Date-Manip-" version ".tar.gz")) + (sha256 + (base32 + "0zd0wbf91i49753rnf7m1lw197hdl5r97mxy0n43zdmcmhvkb3qq")))) + (build-system perl-build-system) + (arguments + ;; Tests would require tzdata for timezone information, but tzdata is in + ;; (gnu packages base) which would create a circular dependency. TODO: + ;; Maybe put this package elsewhere so we can turn on tests. + '(#:tests? #f)) + (home-page "http://search.cpan.org/dist/Date-Manip") + (synopsis "Date manipulation routines") + (description "") + (license (package-license perl)))) + (define-public perl-datetime (package (name "perl-datetime") -- 2.4.3