From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mHJCKxI1tmV5QwEA62LTzQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 12:05:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mHJCKxI1tmV5QwEA62LTzQ (envelope-from ) for ; Sun, 28 Jan 2024 12:05:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=LkNP9OAO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706439954; a=rsa-sha256; cv=none; b=L8ZPIiD/NMysUdvX/5dy3AG3NLu2APAzRruZUlNHK0eO7MlnsKWEVT3N8mL8E4OjENVDg6 assuABGNWavbDdOgmlvith1ng0tW5dqR3pmr1s4U1xGmbRiU2s404AEIqtfVjI0PwZx5EO cqBBjuSZrLznYRvd0aOipcv71jvHHBogCuR3v0lv/YHD6JBWy6Ul0ok6rpDr67yXFNRgAf INfIzPBE4PrCDHFLvoT0HhvR9tOR3GWgOEXeVxJP9VsSj3C/xDxrUQ/fMI0iDyyjMxlsKS tiIy9borZ7S3b6zqNFoOnrcJYJKOGeIoMx7nWA9i+4K7SFcjtxsKwONGxsxNWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=LkNP9OAO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706439954; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=lYfg82d9eqjczsP/EPVnszaE6RmPrUmnA8dDmSx7HMc=; b=Qm21JUYLwuVoKYjl1MsN4cs7iwPm4N0GWtAyz59yIIIm8A5bzdM7ux/X2T1a8806kiYBTo xhm74/79mHjFzaqxUKJ6FLTXIsRD71j1Q6B7md4rHX0ajDntfpu7MZXQqqE5E0XWo+V9JO GECNLtHB97IR9DlsuN6eTbACuqYOAjoovM3d6gJ9g//YHkKBouHI4ozcxKt3D/ZfWyP0rI b062xht4mvDYTiihXwBzFcvglFyvkyll/wOO5DXZPVQNCNx6qyus3yj6yoeNyBiwUXvV38 k1xnktR4wVWSRdK+ChRFY0fTAkGCu/X1Inn0nN9oyt5R/PCLILVvYC3vyiLNRA== 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 96F0272072 for ; Sun, 28 Jan 2024 12:05:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rU2yA-0001Z3-Jb; Sun, 28 Jan 2024 06:04:59 -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 1rU2y8-0001Y9-2f for guix-patches@gnu.org; Sun, 28 Jan 2024 06:04:56 -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 1rU2y7-0000FF-R1 for guix-patches@gnu.org; Sun, 28 Jan 2024 06:04:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rU2yF-0006BJ-Cz for guix-patches@gnu.org; Sun, 28 Jan 2024 06:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8. References: <87bk95hgik.fsf@troyfigiel.com> In-Reply-To: <87bk95hgik.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jan 2024 11:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68780@debbugs.gnu.org Received: via spool by 68780-submit@debbugs.gnu.org id=B68780.170643985623592 (code B ref 68780); Sun, 28 Jan 2024 11:05:03 +0000 Received: (at 68780) by debbugs.gnu.org; 28 Jan 2024 11:04:16 +0000 Received: from localhost ([127.0.0.1]:56676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU2xT-00068R-K2 for submit@debbugs.gnu.org; Sun, 28 Jan 2024 06:04:15 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:43158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU2xR-000684-ES for 68780@debbugs.gnu.org; Sun, 28 Jan 2024 06:04:13 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4TN7pk2bylz9sVv for <68780@debbugs.gnu.org>; Sun, 28 Jan 2024 12:03:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1706439838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=lYfg82d9eqjczsP/EPVnszaE6RmPrUmnA8dDmSx7HMc=; b=LkNP9OAOgb65+KgtcpejDD5n+qqcuoAzHKB/WqZ3+gTrY4Yi26vnpZRha5CL8c0KEwnJT/ 407SpnQsXbCdcq6Owo6wIO9BJP8HSBDBxo+CNLgJ4Pl3B2rJgdPCcMEOH1+zotPkV1lXen YNorC6fRspqz2jjt8hCp+FSItnbb5eYhzkJb694CGvxLfAHx9s8D6SXYC7Yb8QTPVus+qR yxiJB6oUjprUm3jN8QyBN8BNpk9I4MdsKl6Uh6wcD8V6RvjriPncV+4Q/gwHMFx0If8ctl gm/hEXerfYed35d/P9wZ1emVh6gMT+CwjLNJbm0iuYGl3A1srW1jcuIio/QNXQ== From: Troy Figiel Date: Sat, 27 Jan 2024 16:20:08 +0100 Message-ID: <875xzdhg82.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4TN7pk2bylz9sVv 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: , 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-Scanner: mx10.migadu.com X-Spam-Score: -5.76 X-Migadu-Queue-Id: 96F0272072 X-Migadu-Spam-Score: -5.76 X-TUID: ExqcBwXMBulf * gnu/packages/crates-io.scm (rust-chrono-tz-0.8): New variable. (rust-chrono-tz-0.6): Inherit from rust-chrono-tz-0.8. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3825e14115..02cfe3c531 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9894,8 +9894,39 @@ (define-public rust-chrono-humanize-0.2 Python @code{arrow.humanize}.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.8 + (package + (name "rust-chrono-tz") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2) + ("rust-phf" ,rust-phf-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "TimeZone implementations for rust-chrono from the IANA database") + (description + "Chrono-TZ is a library that provides implementors of the TimeZone trait +for @code{rust-chrono}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-tz-0.6 (package + (inherit rust-chrono-tz-0.8) (name "rust-chrono-tz") (version "0.6.3") (source @@ -9905,7 +9936,6 @@ (define-public rust-chrono-tz-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pmv434fhw9pwiqc12pvgaiskrq4v1dh1f238gfsg48r301r5hr9")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -9918,13 +9948,7 @@ (define-public rust-chrono-tz-0.6 ("rust-uncased" ,rust-uncased-0.9)) #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/chronotope/chrono-tz") - (synopsis "TimeZone implementations for rust-chrono from the IANA database") - (description - "Chrono-TZ is a library that provides implementors of the TimeZone trait -for @code{rust-chrono}.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-chrono-tz-0.5 (package -- 2.42.0