From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OIlVOeEU8GI+qwAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 21:39:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oN1SOeEU8GLBiAAA9RJhRA (envelope-from ) for ; Sun, 07 Aug 2022 21:39:13 +0200 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 A3E7BF666 for ; Sun, 7 Aug 2022 21:39:13 +0200 (CEST) Received: from localhost ([::1]:47320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKm7E-0003Lf-F6 for larch@yhetil.org; Sun, 07 Aug 2022 15:39:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKm74-0003KD-Ru for guix-patches@gnu.org; Sun, 07 Aug 2022 15:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKm74-0001xY-JM for guix-patches@gnu.org; Sun, 07 Aug 2022 15:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKm74-0005Mg-Cm for guix-patches@gnu.org; Sun, 07 Aug 2022 15:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57030] [PATCH 7/9 v2] gnu: rust-syn-1: Update to 1.0.96. References: <87v8r4tldq.fsf@ngraves.fr> In-Reply-To: <87v8r4tldq.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57030@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57030-submit@debbugs.gnu.org id=B57030.165990109020563 (code B ref 57030); Sun, 07 Aug 2022 19:39:02 +0000 Received: (at 57030) by debbugs.gnu.org; 7 Aug 2022 19:38:10 +0000 Received: from localhost ([127.0.0.1]:38329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKm6D-0005Lb-W4 for submit@debbugs.gnu.org; Sun, 07 Aug 2022 15:38:10 -0400 Received: from 9.mo575.mail-out.ovh.net ([46.105.78.111]:42953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKm6B-0005LR-AW for 57030@debbugs.gnu.org; Sun, 07 Aug 2022 15:38:08 -0400 Received: from player698.ha.ovh.net (unknown [10.109.138.52]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 1616923A38 for <57030@debbugs.gnu.org>; Sun, 7 Aug 2022 19:38:04 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player698.ha.ovh.net (Postfix) with ESMTPSA id 0DAD82D51614D; Sun, 7 Aug 2022 19:38:01 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Sun, 07 Aug 2022 21:38:00 +0200 Message-ID: <87bksvu9nr.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 1484780502239273698 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefiedgudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepudethfeugeehffetudeltedthefhheegkefgtddtueetudelkeeliedttddvfeehnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheileekrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdeftdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhe 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659901153; 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-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; bh=sCh9XfGEZGQQT1yQRfu4FoowDSTENZGeQvtKC12ze6E=; b=GEUyqj1Esw4w3zAnJjM1oYJ+OsP996zo4tf7b7N6uDWC6R1w4+vCfsxblZ9DBcEQw1rjF/ OxI5nlpP0KJXsXFwCr1/hCidzpVnzhIO5rh6tQIRJQl1I/FeyEZ7cdLfe/iSHT5SR3UoJS AgDczBDkSLSSkL/6r/Y/XtcB/2eXHfYvG4ypjUxYIA4gZTAMviRLj4eW6cKNjS4RhA6/zC OC7GhLHCYlteCtDlptx0JWOkP2xoU5h4qnoj6Kfjbw3G7fn3HLjEw79PFf8dCAg7hiLX2M zo/pTvvy959IZcn7rpwo1wuBV9mLP1qyB7Uh9nuZ8MzbiMDXUhJoY9vKTuqRoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659901153; a=rsa-sha256; cv=none; b=f2sPIoGseoA7eI/f7zrO+rRE9GQQI/a0WuhQQ/RGK/LObRyrqWp1fjsRn9vV2uocJ9b7GY pLpIWf11YMaiXX6LvJMEWlIvZ3nr7HFvkEYpV+JFes0JRBa3zbbIajB5rW7CIikBYU5dNu uOvWZakjjLQ5nylpyAsZHmimV80uyWvG3sO9gB8W+1N/mxphdHntdvqA7dbYF3LL3sE5dc Ky+VbdukTl6Cx6Gpn5pb1w09EoK9WLJbii9n0oMRSba9zYsfdJyAxQ9YuuPFKiKsdW+Bel 5cPMrlE1LTQAo1TxGRjfH2AfyWHWUUIUHHV0OFagOOniK2HYBh7XmWlY/monpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.39 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: A3E7BF666 X-Spam-Score: -4.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: WJqlDVAOxZRr * gnu/packages/crates-io.scm (rust-syn-1): Update to 1.0.96. --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 99c70d3ca0..11a317ab71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -60699,21 +60699,51 @@ (define-public rust-swc-1 (define-public rust-syn-1 (package (name "rust-syn") - (version "1.0.82") + (version "1.0.96") (source (origin - (method url-fetch) - (uri (crate-uri "syn" version)) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dtolnay/syn") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0ncx7gg5mvd16q5xf77hgk09nwmfq0ppsn0vgc9x9jv0pg85vbwd")))) + (base32 + "1b2my32bcw01w556hc4xckafx1x85lz81shrcmmjqlml07hakwi9")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "dev") + (delete-file-recursively "examples") + (delete-file-recursively "json") + (delete-file-recursively "codegen") + (delete-file-recursively "tests/crates") + (substitute* "Cargo.toml" + ((".*examples.*") "") + (("\"json\",") "") + (("\"dev\",") "") + (("\"tests/crates\",") "")))))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '( "--release""--all-features") + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-automod" ,rust-automod-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-insta" ,rust-insta-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-tar" ,rust-tar-0.4) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-walkdir" ,rust-walkdir-2)) #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2)))) + ("rust-unicode-ident" ,rust-unicode-ident-1)))) + (native-inputs (list pkg-config openssl)) (home-page "https://github.com/dtolnay/syn") (synopsis "Parser for Rust source code") (description -- 2.37.1 <#secure method=pgpmime mode=sign> -- Best regards, Nicolas Graves