From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8C4yGIJibGfsCQEA62LTzQ:P1 (envelope-from ) for ; Wed, 25 Dec 2024 19:52:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8C4yGIJibGfsCQEA62LTzQ (envelope-from ) for ; Wed, 25 Dec 2024 20:52:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Iwjlm4lP; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=nnaoUHP8; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735156354; 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=0Z1yqs9ZSfBS1nbSFckDZ6rPG3ecVEnqyfGJVRMkMeI=; b=Romhm9EB0YtdnyDVXAuoAn4c+e51I2eWpSqES9OUV4yydQuVjL5N2nItV+2n5Rq1oydmW4 an9n6L1yAQpKwy46P3LFjZqXFhwI2ETsUhOWz9Cpd2AJKYU1a/qzrb/bxh3c6+ZM+R1ik/ hxGzaP9MaqSmGWrl3UEMhSXfiMO9ulGLd25PXNebz8Lx7ny3hO9EfFSJYgns7IwjPUUd2M eGMJg/Irk3zeuMa5gjaki2ZQbsFhDQ3Q2clML7vXSpYrMH3ovGdQ9U7rjYAr1hmE8d0mkZ wcUkB9aUj/utYYCAVdaA/4EoF99ozjNzN1Dem0DfXUFiN8B61X3WToYF02anuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Iwjlm4lP; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=nnaoUHP8; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735156354; a=rsa-sha256; cv=none; b=Sw26w0c220RcGzx/7nt2TQMKVfMntzp3qEfUV0tI8NLOkv2PSwkdN8SwS2Dm1gcRuuDTt8 37ex6pB5F8wbJc2khKsj14w2hZTIJWYPHzThI47Lo3dtFwMHN1dMwhuX7UpJrmThRepZxh WDAqI+W20E95tGZkglk2+x00joqMkokkzdK86eFRFsBacGEEiMdxMfzEw2MbyUPPp6dCIN yITpxEpwjcZr8uTBbi8kf96oBCZE2d6oq+O8ZHVt5B5R2xepI1hoIRYR/0iajFxx73Zr1u ZbeH0ujVUsH6rTVrsFtI3WnXoeRxCkMBPDjIseA3bThkBRd7avkeZXyHL4kIqA== 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 46B75835D0 for ; Wed, 25 Dec 2024 20:52:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQL-0006Zn-OD; Wed, 25 Dec 2024 14:52:05 -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 1tQXQK-0006YK-Pk for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52:04 -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 1tQXQK-0005Om-Hm for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=0Z1yqs9ZSfBS1nbSFckDZ6rPG3ecVEnqyfGJVRMkMeI=; b=Iwjlm4lPTsUobx6JXbbc0ThcvOr8U+3xNGyoHQ1nwN9Cj8uDnnQP39l9TxgFUFuvwuQuZfYR8H2XsNDBRJyqcOkf6EFTpLgprLTkMDGfvqRGNl1SPAkvWvrAHFU7TCLUo3hFG1r5wkFFOg1/92EtkADHgTrBiQ+DBeX+H/SKgwTCLf7RV1XegZUX6+NFOAStgjiiXTAvOjX4ti+0nNRct35equSCHxRqfzET/hDgf8eRAbLPKW5uY0RjTEIH8EXGSpMR+1yIdaaBuBMsj3cBfcYjyIkoPr5nGNnE1KIZDcIETVwnZG/gVFyHgIbiK2FtkV+EJEzd4OMMM7h7zbWI3Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQK-0005X7-C6; Wed, 25 Dec 2024 14:52:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 9/9] gnu: rust-synstructure-0.12: Use snippet. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 25 Dec 2024 19:52:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75096@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75096-submit@debbugs.gnu.org id=B75096.173515626621151 (code B ref 75096); Wed, 25 Dec 2024 19:52:04 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:06 +0000 Received: from localhost ([127.0.0.1]:38910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPN-0005Uz-Fg for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:51:05 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:36755 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPF-0005Sb-2u for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156240; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Z1yqs9ZSfBS1nbSFckDZ6rPG3ecVEnqyfGJVRMkMeI=; b=nnaoUHP80UN7CZjTCClsQkO6IRDC+iPRfVscVAGIFZxIphEB0m3jzOOOZYJsWjVnyzhmjL MHxsAVcoH/gnMhoyvcNyaKUdSt1F7Dg6t2MmDXB+J+oBY2DCF+cN1K5v7Lau6PZuLSw0A7 CE5Kg8ji/q+FvCkZuybDK/wxwOVkwYnbVcM8LPhh5r3yblIHmE7OV2g8bD5ARae9k+Zo6H XjFAfF5JPNC1300Y3bq571zHrNtuITXpi6B0yhd/46czx3nqGIpZ1zO/qKTZhO9MChKuPh wQiuq1+1hmUcE3H5JhgvX2XsaGgEExtTi9B978e12ci49waz1TtoFC47N7p4Ug== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 87d82783 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:40 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:55 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 46B75835D0 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.00 X-Spam-Score: -3.00 X-TUID: 4gIbNyf2fnmx * gnu/packages/crates-io.scm (rust-synstructure-0.12): Add snippet. [phases]: Remove fix-test phase. Change-Id: Ie8f966b4f76c4de18a0e4a18a89c81064b8a6beb --- gnu/packages/crates-io.scm | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b8d6bedf3..859e6aaa7d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -84685,11 +84685,13 @@ (define-public rust-synstructure-0.12 (origin (method url-fetch) (uri (crate-uri "synstructure" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) + (base32 "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")) + (modules '((guix build utils))) + (snippet #~(substitute* "src/lib.rs" + (("non_upper_case_globals )") + "non_upper_case_globals)"))))) (arguments `(#:skip-build? #t #:cargo-inputs @@ -84698,14 +84700,8 @@ (define-public rust-synstructure-0.12 ("rust-syn" ,rust-syn-1) ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs - (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)) - #:phases - (modify-phases %standard-phases - ;; https://github.com/mystor/synstructure/issues/51 - (add-after 'unpack 'fix-test - (lambda _ - (substitute* "src/lib.rs" - (("non_upper_case_globals )") "non_upper_case_globals)"))))))))) + (("rust-synstructure-test-traits" + ,rust-synstructure-test-traits-0.1)))))) (define-public rust-synstructure-test-traits-0.1 (package -- 2.45.2