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 2FMAFY3vyWFsKgEAgWs5BA (envelope-from ) for ; Mon, 27 Dec 2021 17:53:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UGsID43vyWHMQAEAG6o9tA (envelope-from ) for ; Mon, 27 Dec 2021 17:53:33 +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 E7AFD36F82 for ; Mon, 27 Dec 2021 17:53:32 +0100 (CET) Received: from localhost ([::1]:53286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1tFc-0007VM-2D for larch@yhetil.org; Mon, 27 Dec 2021 11:53:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1tFG-0006qk-4A for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1tFF-0000GF-RA for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1tFF-0001Dr-Qp for guix-patches@gnu.org; Mon, 27 Dec 2021 11:53:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52149] [PATCH 26/26] gnu: Add rust-time-macros-0.2. Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 16:53:09 +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.16406239774533 (code B ref 52149); Mon, 27 Dec 2021 16:53:09 +0000 Received: (at 52149) by debbugs.gnu.org; 27 Dec 2021 16:52:57 +0000 Received: from localhost ([127.0.0.1]:44136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1tF2-0001Ax-Jx for submit@debbugs.gnu.org; Mon, 27 Dec 2021 11:52:56 -0500 Received: from knopi.disroot.org ([178.21.23.139]:34184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1tEc-00019K-Fo for 52149@debbugs.gnu.org; Mon, 27 Dec 2021 11:52:30 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D69E350FBC; Mon, 27 Dec 2021 17:52:29 +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 XNHsYTVis6x5; Mon, 27 Dec 2021 17:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1640623895; bh=B9RcIACuQ5Lc7gj3QDtDajJUnnGKfNHa56uZj2jgYO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OMlJHwlgJxwgwq1XNEEIadqknVx1WPb+VklD5BNu9P0u2uGtRAf8hqaU/g8mYrE5e XIh48oEdyiIstz6Q1+pM8mN3wVmql7rF8vu8UbUvsUUSwkCVcdBDhUDcn6xKIPKtsB p4+QSqvRZO35nG7zQK802OqOLELfYgh5SADTnpKsbL/9Nz1xq6ZsTlqjEe4YIm2Dx1 KyDhbNw6WOcN3RClawihs1iwbK4KSU088W7sDLc6dxDrKBA2rrvSLhUAtoZvE7bxar bXFngQZ9vHGsKHeOxiNeYgCqmYdB0hxVXEG8kcSrb/9wY58kMAEJEcVVeXdM+ZtRsO MCOqI4Lyeu0NA== Date: Mon, 27 Dec 2021 16:51:03 +0000 Message-Id: <20211227165103.10075-26-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=1640624012; 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=EH3SehWSHGbuKrB/Ay/k2z3Uu+s3HeQr4Get3YKp3WQ=; b=rzUT6eNvjFlN5ymWH2EDCYPUySF8pA6Z+jIRPeUsC4p90dhvPwuuTWvXeEOyimpQLtqhDj dIsMYNSqWX9KkBCDYcEcGAH4gIshcXNqr/oSTBRS6AvNI9QjUomPlgDmFxUSUa/LAivThB jTzClfVl4dzodN+2v/qT7AL/WrtATVHtHl4ypxyHHRt2DKSZOX2NVo/4dlf2cS1JTqeP1y tOhPYsLLEuIJqJ/okIyPeZxRcmkm3WWFoPrBecilRLSMVkvxnqhNQTbv4ynD5b5lGii5jw lfd2G/QVePNE14/EFZnpkacgJja6fn+dhQNuSIzHl83g+/MxjyNln5Z1JOUGfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640624013; a=rsa-sha256; cv=none; b=ZPuOuic68GM2m4tNrg/7Hc+ahAfylJ8iQY05jTwdmAUHE+kZEp9ih1Eo6CRRHdwlpQBdUD 4Go9cNVesIa4GlE6VrsjmF1VdwIULBUL2KAeAfjclcvyO/WB/4KVvDBYQAuPLwDQkwh82E 0UE0+opgoOS2e6W916kzkFT75eKf3DJgixsCB7KlsBIWGwcQhRDoMrbTNJfLQmo3l2VLBF zi/21jrunsCMKthOVe406CMuZ66IXtvjtA1BhNrrwZnKkHNk9+oLymlAvn5H1HIvwUQz/B PlappMuDZpzXTZWfhJtQfzQS0c9ayVrRgf/L86wI3bjd+iZUcOG+spJF7icnLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=OMlJHwlg; 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=OMlJHwlg; 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: E7AFD36F82 X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: q9ysuXp0hDst gnu/packages/crates-io.scm (rust-time-macros-0.2): New variable. gnu/packages/crates-io.scm (rust-time-macros-0.1): Inherit from rust-time-macros-0.2. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6cd36bed41..9c58a734a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -55015,17 +55015,30 @@ (define-public rust-time-0.1 ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-log" ,rust-log-0.4) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-time-macros-0.2 + (package + (name "rust-time-macros") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "time-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mj7pv8y9j2csrh1l8aabras36pgysbnfy18330srh4g8sihrsr5")))) + (build-system cargo-build-system) (home-page "https://github.com/time-rs/time") - (synopsis "Simple time handling in Rust") - (description - "This package provides utilities for working with time-related functions -in Rust.") - (license (list license:asl2.0 - license:expat)))) + (synopsis "Procedural macros for the time crate") + (description "This package provides procedural macros for the time + crate.") + (license (list license:expat license:asl2.0)))) (define-public rust-time-macros-0.1 (package + (inherit rust-time-macros-0.2) (name "rust-time-macros") (version "0.1.0") (source @@ -55036,16 +55049,10 @@ (define-public rust-time-macros-0.1 (sha256 (base32 "0bdbxjgbxb81xgy08h5dh4qvwy95sy9x8g1y31g11g4my3lvdscs")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) - ("rust-time-macros-impl" ,rust-time-macros-impl-0.1)))) - (home-page "https://github.com/time-rs/time") - (synopsis "Procedural macros for the time crate") - (description "This package provides procedural macros for the time -crate.") - (license (list license:expat license:asl2.0)))) + ("rust-time-macros-impl" ,rust-time-macros-impl-0.1)))))) (define-public rust-time-macros-impl-0.1 (package -- 2.34.0