From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AEPZFTMAp2USUQAAqHPOHw:P1 (envelope-from ) for ; Tue, 16 Jan 2024 23:16:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AEPZFTMAp2USUQAAqHPOHw (envelope-from ) for ; Tue, 16 Jan 2024 23:16:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=bZ02kb0P; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705443379; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LPc1S0tPeoTH3YgeUeET7G1iyh98OsZgrkKNJL8kGhY=; b=kYeEC5t1drlZ0LQTzxqPfETQtKGSZGWKRl+5tZxnBO2YqMvRl5NOy7ypjnl8qzj7uKANQN k43dXzB2mz061ds1hbB9rO0Aj7KDtKcP1QxXmpjPnWkxVBx8GLqow235Um0fJ7Kub9I4ge rqX3ZBQmd/7HMpkAO77NlgqYwj11yswFRDhfvyUXbFQxXRh/RjarB530HiwMDlLLPA/ufA ylpiUzbELgq2Q9+F8yBvbXb+6NPzjs0ZP2FrROvK1Lz3BxtuLGBdVj3QhGQ1kG7e/fCZKY kmV7u8P0CJ3y5y0gpDMuOXQBcVHEzqIBDwhBUTWk/7oLW9thHDzTdubcC14YOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=bZ02kb0P; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705443379; a=rsa-sha256; cv=none; b=Zg2dBhalx096qXSV7M7PJf3/IDLDM39P7KH+rSHVG/LXVZdFbzumV/Q+5C+Et86VLq0aoV tcRlU5wyKQcUGaC9bDj+XdDuXT7UwVUeEC3VeoIYeTaZtuFS+zo15nAh3xOvCEMEQSV9IK Vo9F8fHXvrI/QeP0DRzuHsLJqXGxLGxYKdcGOh8IyhTAC3TB6OeXFLu+Hds7xQJFNbOPUt z5/qFFm6hH/dvw3n0pPLQXUxYgI+QWn5dVgWhzLxRNPWK53vqXjxX79yfDwoCyWIjLMr5B Xri7SeTrjwhtCM2rgkIGRPMoWxjJEaehtozKpb3C7mc5uZzTMF+2HNRBi+wWfA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 403F86E06C for ; Tue, 16 Jan 2024 23:16:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPrib-00087Q-8m; Tue, 16 Jan 2024 17:15:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPri8-0007qk-Qc for guix-patches@gnu.org; Tue, 16 Jan 2024 17:15:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPri7-00044K-S5 for guix-patches@gnu.org; Tue, 16 Jan 2024 17:15:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPri8-000144-4p for guix-patches@gnu.org; Tue, 16 Jan 2024 17:15:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67963] [PATCH v2 10/37] gnu: Add perl-datetime-format-pg. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Jan 2024 22:15:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67963@debbugs.gnu.org Cc: Felix Lechner Received: via spool by 67963-submit@debbugs.gnu.org id=B67963.17054432563294 (code B ref 67963); Tue, 16 Jan 2024 22:15:08 +0000 Received: (at 67963) by debbugs.gnu.org; 16 Jan 2024 22:14:16 +0000 Received: from localhost ([127.0.0.1]:49960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPrhH-0000qr-Lr for submit@debbugs.gnu.org; Tue, 16 Jan 2024 17:14:16 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:33594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPrh9-0000nA-BO for 67963@debbugs.gnu.org; Tue, 16 Jan 2024 17:14:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=PVz/C9w4QLTq/AL k6XnPh1Nqm8dNmhmgxcmjz3fh6dU=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=bZ02kb0Pguzmt6q07G0Rz/qY8Vjij6zuttX+xeoa oPQCQnV9fZKA83vxxleNG4EkT9eiojHjmcGtvSpSOTMeSunpuK5fbeRRFizhTos6O5VX9s fYlslB2DfYxUlMlf0FZX+JnkhgfBGOaYf632caY1sEV7YB7lQCxHschPiGaDU= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id df7281bc (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 16 Jan 2024 22:14:03 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6f8019f7; Tue, 16 Jan 2024 22:14:02 +0000 (UTC) Date: Tue, 16 Jan 2024 14:12:48 -0800 Message-ID: <1b656ace472ba0c286280ee8c2cc32232a0092bc.1705443194.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.68 X-Migadu-Queue-Id: 403F86E06C X-Spam-Score: -6.68 X-Migadu-Scanner: mx11.migadu.com X-TUID: hP5gBmeaUSuV * gnu/packages/perl.scm (perl-datetime-format-pg): New variable. Change-Id: I595271d5aecb6915f750ee1dd71144595359cb58 --- gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e04903280a..f4fb49d9b2 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3575,6 +3575,32 @@ (define-public perl-datetime-format-natural parsing logic.") (license (package-license perl)))) +(define-public perl-datetime-format-pg + (package + (name "perl-datetime-format-pg") + (version "0.16014") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DM/DMAKI/DateTime-Format-Pg-" version + ".tar.gz")) + (sha256 + (base32 "1f8fpv655x8w9zaa65lp1yn0pianjv5l4qvg6v1q9hsda9k9dfrq")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build-tiny)) + (propagated-inputs (list perl-datetime + perl-datetime-format-builder + perl-datetime-timezone)) + (home-page "https://metacpan.org/release/DateTime-Format-Pg") + (synopsis "Parse and format PostgreSQL dates and times") + (description "This module understands the formats used by PostgreSQL +for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used +to parse these formats in order to create DateTime or DateTime::Duration +objects, and it can take a DateTime or DateTime::Duration object and +produce a string representing it in a format accepted by PostgreSQL.") + (license license:perl-license))) + (define-public perl-datetime-format-strptime (package (name "perl-datetime-format-strptime") -- 2.41.0