From patchwork Wed Dec 25 19:49:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35591 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BA23A27BBE2; Wed, 25 Dec 2024 19:51:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9EC7F27BBEA for ; Wed, 25 Dec 2024 19:51:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXPM-0006Os-RI; Wed, 25 Dec 2024 14:51:04 -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 1tQXPK-0006OE-HK for guix-patches@gnu.org; Wed, 25 Dec 2024 14:51:02 -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 1tQXPK-00052B-7q for guix-patches@gnu.org; Wed, 25 Dec 2024 14:51:02 -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=PyErdY3YHfpL1SFI32TNDQTiTmPTQS1TF2Jj64IF4+o=; b=lY+aEqgAeAz2cIpF3TisMSMb7N4rvArgLo5RAYXbMMtL2DZnc/y3dvKWhJadzhacuAveytJQ700MWross951o8jVn/swWd+URTVJkHSFvr7y0NdjhFpTJ6fPEBRSwe4uAIsNSwH2HzAxHCILa5qjO1/U5xEgirteSY8++COmjUIk24NJQcwWX7m700XYMjp8tRA7SNnCoCwFL73sJXNFGEVEDMa743t31FRMtx1rKU+kpnR5fPJ+l0lwrwEsbKryco6prr3XxYEgu6jVxyQf5sKzznyN+JrU214pMXD+uVkbgjfWvpwA5ZdSdny00Apl8ELG9TdJYhe2ol4Pthvs8g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXPK-0005Tp-1P; Wed, 25 Dec 2024 14:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 2/9] gnu: rust-itertools-0.9: 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:51:01 +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.173515625521022 (code B ref 75096); Wed, 25 Dec 2024 19:51:01 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:50:55 +0000 Received: from localhost ([127.0.0.1]:38888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPC-0005Su-D8 for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:54 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:39491 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXP9-0005SO-RE for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156237; 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=PyErdY3YHfpL1SFI32TNDQTiTmPTQS1TF2Jj64IF4+o=; b=j3ku639Sf8G1mu+P3/zaIAonh2xQJOGU5AER29FubeuP3otKDU4I1mToFMyjhUNToRq9iA tcavlotRNXBA8vqJLojOHi4M8ZxlgieVnxBccLLOHpIGU7h0gML8eWwyEjIUDN9wAipD/U ahZ0tpgXHWoL2sLuIDBQnoHET1pSz2ECVo4Me0IthmyJGE2g/7GP70XqIs7JwFZhGrKyhr 6UQ0nKdHGC47wBr/KOaeVIcGt7tVvcPjYLeHxB+oGhcHGWbkd0Q7XD+CmiIoyrlxE7po3K loCitc4LxuvA9Go3yokiKGEW3B6eFKRZRsd3h7lVYmOkFdIHD1FArGbLYi45Jw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id b0331658 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:37 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:48 +0100 Message-ID: <0c5475dadcb639b7bc4c6d3ffe7682634acb8373.1735155954.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-itertools-0.9): Add snippet. [phases]: Remove patch-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4e05235585..2286eabb75 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38810,14 +38810,15 @@ (define-public rust-itertools-0.9 (name "rust-itertools") (version "0.9.0") (source - (origin - (method url-fetch) - (uri (crate-uri "itertools" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8")))) + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + (("=0.3.0") "0.3"))))) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) @@ -38825,14 +38826,7 @@ (define-public rust-itertools-0.9 (("rust-criterion" ,rust-criterion-0.3) ("rust-permutohedron" ,rust-permutohedron-0.2) ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - (("=0.3.0") "0.3")) - #t))))))) + ("rust-rand" ,rust-rand-0.7)))))) (define-public rust-itertools-0.8 (package