From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WEMuE1gV8GKsqgAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 21:41:12 +0200 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 OI9EElgV8GL1YwAAG6o9tA (envelope-from ) for ; Sun, 07 Aug 2022 21:41:12 +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 A31ECF77E for ; Sun, 7 Aug 2022 21:41:10 +0200 (CEST) Received: from localhost ([::1]:47558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKm97-0003Zq-Q3 for larch@yhetil.org; Sun, 07 Aug 2022 15:41:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKm90-0003YB-52 for guix-patches@gnu.org; Sun, 07 Aug 2022 15:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKm8z-0002MW-SN for guix-patches@gnu.org; Sun, 07 Aug 2022 15:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKm8z-0005Q9-NA for guix-patches@gnu.org; Sun, 07 Aug 2022 15:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57040] [Nicolas Graves] [PATCH 7/9 v2] gnu: rust-syn-1: Update to 1.0.96. In-Reply-To: <87iln415gm.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57040@debbugs.gnu.org Received: via spool by 57040-submit@debbugs.gnu.org id=B57040.165990120320742 (code B ref 57040); Sun, 07 Aug 2022 19:41:01 +0000 Received: (at 57040) by debbugs.gnu.org; 7 Aug 2022 19:40:03 +0000 Received: from localhost ([127.0.0.1]:38333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKm83-0005OU-HR for submit@debbugs.gnu.org; Sun, 07 Aug 2022 15:40:03 -0400 Received: from 15.mo550.mail-out.ovh.net ([188.165.38.232]:55163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKm81-0005Ny-C9 for 57040@debbugs.gnu.org; Sun, 07 Aug 2022 15:40:02 -0400 Received: from player756.ha.ovh.net (unknown [10.109.146.1]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 76A0722AEB for <57040@debbugs.gnu.org>; Sun, 7 Aug 2022 19:39:59 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player756.ha.ovh.net (Postfix) with ESMTPSA id B074D2C8957D1 for <57040@debbugs.gnu.org>; Sun, 7 Aug 2022 19:39:57 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 References: <87bksvu9nr.fsf@ngraves.fr> Date: Sun, 07 Aug 2022 21:39:57 +0200 Message-ID: <878rnzu9ki.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 1517431601727005309 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefiedgudegfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufhffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeetkeduueehteeufffgkeehfefgueegleeiveekueeiheehudeijeekvefhfffgnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejheeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdegtdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtd 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=1659901272; h=from:from:sender:sender:reply-to: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; bh=2g3nIK+Wcd9WygfDv0IJpRo4f6XgUIbIfMvqpmn4xGk=; b=NX0gke8iDAC/7jzuknRBeYohBsL8IKiffFgclIONDl7P0WJ5kcRQPxYZcTYbfqbDISRzgX RJc/wlJvG26khyHQZvc+5bUmfiA6E/PPG4kvta/kocOeBoqO2n/CgttLJkjMO1C9Wsjnm+ c4hLOLaOkFxa2BGVqYHek9rLSObnfrocQTgqCiCWGdBAAelfDoHePv7K/vta9EBhs0b2Z9 NW21Mo9sdKKWA2wNWmNm6Y7SltNZYaTFISz3XgAmRrDYIkakgWvbeOI9eZ0mw4ou2tIPZP /OqK1fKeKJoFjXtZ5Hc/jUDJyvTGs0jYRrIv8sdGfO7fGrY5r0QrHTnyrk81qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659901272; a=rsa-sha256; cv=none; b=KQQnio+3IS1v2Hr9MTNjq7Qm1emCqS+BbPJqSMcIwZ39jr1QofFLWsj7C954Mi3S/CsdWf yPSsj5G8iBPQMClNfq9yHSKj1srBUWhgCu9Nxn5Cy3jF7/Fi1CyHT+b8uWnb+Q+hVFEJll +0ZiQxAOfijiROsfEKB6MIc33PJOEjSnmaLRmX2kxayjlXG5CYz8U9hFJQsmSqhov68zxk 5yFPVof4+dr9/DFqo5kcO20OdmmX5KWigmNAFUjwjM/i8DWrL5HkIoqyoWbG5OptY96k8z 1RLE3/gswYna7ArBVmIjHiV3Ls4u2W7Ih40ShQBAjFkf4mcji0vx7Eu/g6vFtw== 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: -3.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: A31ECF77E X-Spam-Score: -3.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5X/5wUhnP3kJ * 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 -- Best regards, Nicolas Graves