From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iCxYAqfvyWElKQEAgWs5BA (envelope-from ) for ; Mon, 27 Dec 2021 17:53:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cPzsN6bvyWGF2gAAG6o9tA (envelope-from ) for ; Mon, 27 Dec 2021 17:53:58 +0100 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 950CB19E83 for ; Mon, 27 Dec 2021 17:53:58 +0100 (CET) Received: from localhost ([::1]:53320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1tG1-0007Wa-QD for larch@yhetil.org; Mon, 27 Dec 2021 11:53:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1tFA-0006kc-87 for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1tF9-0000DZ-Oz for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1tF9-0001Bv-Nn for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52149] [PATCH 12/26] gnu: Add rust-time-0.3. Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 16:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52149@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 52149-submit@debbugs.gnu.org id=B52149.16406239344295 (code B ref 52149); Mon, 27 Dec 2021 16:53:03 +0000 Received: (at 52149) by debbugs.gnu.org; 27 Dec 2021 16:52:14 +0000 Received: from localhost ([127.0.0.1]:44094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1tEM-000170-AN for submit@debbugs.gnu.org; Mon, 27 Dec 2021 11:52:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:56846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1tEG-000168-FX for 52149@debbugs.gnu.org; Mon, 27 Dec 2021 11:52:08 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DBB8B50F9F; Mon, 27 Dec 2021 17:52:07 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id mm2zuBXtv4qU; Mon, 27 Dec 2021 17:52:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1640623891; bh=fA2iFjP25dLM6+6Zd4ztDNQu+j4feQybL17hs4SFUDA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hzSaWmLFL3vISQC+bJqpwV9B2/xou2gJ9apIxgexNMjHG65WpYD6uRNUJvPucXrUg GL7HFj4fuh5Y2lnxj/Y76CXTcXgvR9JdeCEh3+o9Zr7Xbo8IRTqdq0u8xxOPAIGho7 uM4APTQCzEWGOPpAemQcAKPxocTuPKhLXDdwcupMQhQ+rz0S9K7wZFlb1b6LX0m+O2 awnhZ6zHtuhs5gXsSduQbthMox0QyGw5hj1pK401Tmw4ISJSHvotImfdT0HKDX+BbC yrcWosMpuw2Xph6U84o2aq5nNlDgR5SpbatVHBmHEddoU0/B83gz4j3iukpk+ovyp+ otRYnxTHGS5Ig== Date: Mon, 27 Dec 2021 16:50:49 +0000 Message-Id: <20211227165103.10075-12-paren@disroot.org> In-Reply-To: <20211227165103.10075-1-paren@disroot.org> References: <20211227165103.10075-1-paren@disroot.org> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" From: "\(unmatched-parenthesis via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640624038; 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=TLQ7j+W7JnqVqUO6Ax/IwSnIEfOsKuM/WNiwrxlkSiU=; b=kQt5Ob+0/fB88tqpx72XTzrB7/VWk0ovXUqQI6loM7kT321NEPwSM1Uxvhy6NkuQaW/WEC ZofL0K16wLjorpcAgm4R1i2bdN0DGiY2oHHqCh6Kp8ibVejqy+wVUd2UOYAd+JiGo22ZYK aIRaOFhGJujnXh9bjuKN8JTMmmt88Lbzh76A12LecPhV21smWEKJJ9ZEU/reIrfxOaZFE6 +fijkZcO5TqXdY9WtC4eenczWDkZB2OvkQpOsLXxsmRAFT2RcfWPj+CyT+2vBSUeiZSi6h FLLkBspqGgJy3TZZSjuBpe2nwOjENGxBfx/CF1/8c56UitH7TmJVY91bY7QARQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640624038; a=rsa-sha256; cv=none; b=bcwSUq4XVRNkLYjOlfBfhQ2uSD5q6X0YWgREj7dAiFtgTrRqvQcduDYi1JpgRSjPdJ3Gf1 RMa5y778LtW+tnMg0cmv6V8A9kNhMK3GLWCPO5vnvrU5VmpjSppmcA+0jLEKR0GYRK0z1B 4b65KzBXRvJ3msTWOuhB+XWNJU7lMqQG9pO+NsDin/dFp88PDDO8y2eFz4rq+3tH83QaMd CPTFhwzUwKUEy3AdM0yvfJ6e+Wzu0SOnm5Mj2EAtg+iGzRDKW90ukJ1Z8qLUjT1gubKAoC SEChYFQ/Sp0s7aMajMNwiW/ygcMpDV4E0xVniD46rj+0ab5bXPy2frDJpvXR5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=hzSaWmLF; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=hzSaWmLF; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 950CB19E83 X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: QuHtapJ4hsGL * gnu/packages/crates-io.scm (rust-time-0.3): New variable. * gnu/packages/crates-io.scm (rust-time-0.2): Inherit from rust-time-0.3. * gnu/packages/crates-io.scm (rust-time-0.1): Inherit from rust-time-0.2. --- gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 16 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f9bb0e7cca..268caec740 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54810,8 +54810,44 @@ (define-public rust-tikv-jemalloc-ctl-0.4 introspection APIs.") (license (list license:expat license:asl2.0)))) +(define-public rust-time-0.3 + (package + (name "rust-time") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-itoa" ,rust-itoa-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-time-macros" ,rust-time-macros-0.2)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion-cycles-per-byte" ,rust-criterion-cycles-per-byte-0.1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/time-rs/time") + (synopsis "Date and time library") + (description "This package provides a date and time library. It is fully +interoperable with the standard library, and is mostly compatible with +@code{#![no_std]}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-time-0.2 (package + (inherit rust-time-0.3) (name "rust-time") (version "0.2.23") (source @@ -54821,7 +54857,6 @@ (define-public rust-time-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12z95k0005rmyn9pf9v4hq80khsns7y5wfydnjr5jpci2yiyxnmw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-const-fn" ,rust-const-fn-0.4) @@ -54836,27 +54871,21 @@ (define-public rust-time-0.2 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.7) ("rust-serde-json" ,rust-serde-json-1) - ("rust-standback" ,rust-standback-0.2)))) - (home-page "https://github.com/time-rs/time") - (synopsis "Date and time library") - (description "This package provides a date and time library. It is fully -interoperable with the standard library, and is mostly compatible with -@code{#![no_std]}.") - (license (list license:expat license:asl2.0)))) + ("rust-standback" ,rust-standback-0.2)))))) (define-public rust-time-0.1 (package + (inherit rust-time-0.2) (name "rust-time") (version "0.1.43") (source - (origin - (method url-fetch) - (uri (crate-uri "time" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na")))) - (build-system cargo-build-system) + (origin + (method url-fetch) + (uri (crate-uri "time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na")))) (arguments `(#:skip-build? #t #:cargo-inputs -- 2.34.0