From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6M7sFU3ecmcQowAAqHPOHw:P1 (envelope-from ) for ; Mon, 30 Dec 2024 17:54:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6M7sFU3ecmcQowAAqHPOHw (envelope-from ) for ; Mon, 30 Dec 2024 18:54:21 +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=X3RKz80W; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=fgwC+PZP; 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=1735581261; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3oS7JgGzjNjn1KEQz4aMt7rREH8UK51d9g9pgqFiftc=; b=AHDNK3RRCMUsCQQXM3DRgDUadQ/KHea0ybvn96x+XbFsECK0uSaxl1NiIMQYontDuYeDr2 jN1cO3BJWUyNB4bJVBApvYKilV5HTDVXQW1Chji4wCflEj6QNhXu5gpExWSlNXGOkR7Th6 7Rm9nzRAK6EM5iMvnHBV0xaJCTSmdmLjkKwLwvbY6xL8hKbBi0W+6Q3CCBB9vaVZaBO/g7 xoKc0G2tbFz5TWSHYhjAr6cCrAtB32gBknmG1kZ1a3hQYN3LhuEVYYxtjmW4INYUIhThHU 00lnIBXTp9yRbFar60w0Hb848x5PRGM+m86DjlDiZp9uDOEC5T8rz/gJENZ7lA== 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=X3RKz80W; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=fgwC+PZP; 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=1735581261; a=rsa-sha256; cv=none; b=YJO7kdkEH0JXeDv9bpbOG+tWSu51ePrpCgCOlXINBbbGhakGBcD/cmwxNwJ3+hsQJM6IUJ WKrejy285zD53pEulMewucKBStJnVyr2vRn1rANUxH2lOsVT5WKbc7q/JfjWYcV2Kql0vA 0qKOYYTcMlP6Xv6Bz4kKevMET8SN/0M0nEXFdXhz9E6tvj1DqCC5lfQMEM+dQUQcc/0UxK cmLSMTEovz/AEgqD4GEj1NQx07TmtBE7v1J/kY4U4sxOq+irwgztnmsFeZZ+stcsT1DA9C 1wtZ/Fa0kpvDVc90tX1gwf8cFxNe5qcPRV9/ywzDlNfI3sgmQb/VbazOfV6Mrw== 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 0FA1F9A6EC for ; Mon, 30 Dec 2024 18:54:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSJxx-00046w-Md; Mon, 30 Dec 2024 12:54:09 -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 1tSJxr-00046a-Fi for guix-patches@gnu.org; Mon, 30 Dec 2024 12:54:05 -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 1tSJxr-0008SG-6G for guix-patches@gnu.org; Mon, 30 Dec 2024 12:54:03 -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:Date:From:To:Subject; bh=3oS7JgGzjNjn1KEQz4aMt7rREH8UK51d9g9pgqFiftc=; b=X3RKz80Wf+/vGd5boF2z3DGXyd3rLJ7SeZaSZKa4mNIPUdDM9gL3vykeUic+nDJTp13rLdiFYxM1tOUC6YezH/ZsyEYp8HkTZbSbz6FzBQrSzF/STIuqPOD4dx0EoTcuLWlF7cTKAXEKRhsPiGuvPGWnFVNG7ut48Hbhw1iXVq9N+ylTMyO1fNDK164Tgppg6XdL+1EFGWN5b9/ClvJ1j5n+mcNKkzlhYp1mbU/KWvp9GdTFfRy9vBKxomv9SdPSLlEv6Uq91u8Zz5aLjoT/O/qmguXz6uKptST5l7L717i/sqdWfizcTzKUz13NdLu00+a6V+TZW7HkbM25zo6OLg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSJxq-0006bi-J9; Mon, 30 Dec 2024 12:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75206] [PATCH rust-team 01/10] gnu: rust-structopt-0.3: Use snippet. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75206@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by submit@debbugs.gnu.org id=B.173558121625358 (code B ref -1); Mon, 30 Dec 2024 17:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 17:53:36 +0000 Received: from localhost ([127.0.0.1]:59820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSJxP-0006aw-Fr for submit@debbugs.gnu.org; Mon, 30 Dec 2024 12:53:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:45166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSJxG-0006aX-IO for submit@debbugs.gnu.org; Mon, 30 Dec 2024 12:53:31 -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 1tSJxG-0003vK-7L for guix-patches@gnu.org; Mon, 30 Dec 2024 12:53:26 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117] helo=email.rimm.ee) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tSJxE-0008OF-7N for guix-patches@gnu.org; Mon, 30 Dec 2024 12:53:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735581189; 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; bh=3oS7JgGzjNjn1KEQz4aMt7rREH8UK51d9g9pgqFiftc=; b=fgwC+PZPFspbTIPhE4ZXCtuKB4LmFY/kHikxf66IefxcpxsD0TD4P7QEHazzBc327iPaEw S3HOHSBeW+68gd68nqvxx1BnSP5mFkM/XJluxk+rjD22MWsXICslPNtDToPrvgOtlnHAR7 5gmnLTS94r/5zMkXGztND/a8PxaC7KTU41/0fHTEt1i0XS974GXriMaxFHHy/sQxlKs5T6 m6iP1w10MygyLWWQmY4pLHI3RirAuaYz6pvAeph4TQgq+poOgoMCJuXHI2MYwNO6beZK20 hcjVkK9yof657fWOeNMMN3FWVrXD8d3nrsnLH13pvPZ75DTjg3gJvztVJVEOqw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1406cc56 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Mon, 30 Dec 2024 17:53:09 +0000 (UTC) Date: Mon, 30 Dec 2024 18:52:25 +0100 Message-ID: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=81.205.150.117; envelope-from=herman@rimm.ee; helo=email.rimm.ee X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: -6.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: 0FA1F9A6EC X-Migadu-Scanner: mx10.migadu.com X-TUID: 9RbNWcFuYlLu * gnu/packages/crates-io.scm (rust-structopt-0.3): Add snippet. [arguments]: Remove fixup-cargo-toml phase. Change-Id: I468ab9e5813bea6d4cbee74c22ae8ad4c4803a0c --- gnu/packages/crates-io.scm | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0b38709201d..4034345fcf5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79155,11 +79155,15 @@ (define-public rust-structopt-0.3 (origin (method url-fetch) (uri (crate-uri "structopt" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "043sg3qxllann6q9i71d05qp3q13scmcvhxhd950ka2v8ij5qsqc")))) + (base32 "043sg3qxllann6q9i71d05qp3q13scmcvhxhd950ka2v8ij5qsqc")) + (modules '((guix build utils))) + (snippet + #~(begin (substitute* "Cargo.toml" + ;; feature does not exist + (("lints.*") "") + (("2.33") #$(package-version rust-clap-2))))))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -79171,15 +79175,7 @@ (define-public rust-structopt-0.3 #:cargo-development-inputs (("rust-strum" ,rust-strum-0.21) ("rust-trybuild" ,rust-trybuild-1) - ("rust-rustversion" ,rust-rustversion-1)) - #:phases - (modify-phases %standard-phases - (add-before 'build 'fixup-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ;; feature does not exist - (("lints.*") "") - (("2.33") ,(package-version rust-clap-2)))))))) + ("rust-rustversion" ,rust-rustversion-1)))) (home-page "https://github.com/TeXitoi/structopt") (synopsis "Parse command line argument by defining a struct") (description base-commit: 4d478f0b404a86a0849722536f11fde0b1857bb8 -- 2.45.2