From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 1/4] gnu: Add perl-time-piece. Date: Sat, 3 Dec 2016 20:38:58 +1000 Message-ID: <20161203103901.27770-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cD7iy-0000lB-CQ for guix-devel@gnu.org; Sat, 03 Dec 2016 05:39:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cD7it-00069p-Mv for guix-devel@gnu.org; Sat, 03 Dec 2016 05:39:20 -0500 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cD7it-000691-Es for guix-devel@gnu.org; Sat, 03 Dec 2016 05:39:15 -0500 Received: by mail-pf0-x243.google.com with SMTP id y68so14858852pfb.1 for ; Sat, 03 Dec 2016 02:39:14 -0800 (PST) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id o68sm13952132pfb.42.2016.12.03.02.39.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Dec 2016 02:39:11 -0800 (PST) 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-time-piece): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6b4370d..55982ab 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -7162,6 +7162,28 @@ time values and formatting dates into ASCII strings.") and time() calls.") (license (package-license perl)))) +(define-public perl-time-piece + (package + (name "perl-time-piece") + (version "1.31") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ES/ESAYM/Time-Piece-" + version ".tar.gz")) + (sha256 + (base32 + "1fb7s5y9f3j80h2dfsgplmdcrhp96ccqs0qqabmckkkgvhj40205")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Time-Piece") + (synopsis "Object-oriented time objects") + (description "This module replaces the standard @code{localtime} and +@code{gmtime} Perl functions with implementations that return objects. It does +so in a backwards compatible manner, so that using +@code{localtime}/@code{gmtime} in the way documented in perlfunc will still +return what you expect.") + (license (package-license perl)))) + (define-public perl-tree-simple (package (name "perl-tree-simple") -- 2.10.2