From patchwork Wed Dec 25 19:48:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35590 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 2D7ED27BBEA; Wed, 25 Dec 2024 19:50:19 +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 A25DD27BBE2 for ; Wed, 25 Dec 2024 19:50:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXOR-00067a-JJ; Wed, 25 Dec 2024 14:50:08 -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 1tQXOP-00067D-4Z for guix-patches@gnu.org; Wed, 25 Dec 2024 14:50: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 1tQXOM-0004iD-Nk for guix-patches@gnu.org; Wed, 25 Dec 2024 14:50: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=z35OewWxu3fNG6CMPNa8nmseboKl43rz6M8hRJnvujw=; b=QoXzl/TGGpynd/RqI3LDpOhn14MwWwntxEqm87ziPagj1DBrpLMuM1gtQA//tI9loWgVLiCjkxObnlEameFJ+ECSQIe9juTt9s+Ojia1UP3DuGuGWRkhhCOAWMbc2NKrB25OK2tYwn6XOpBTGVqU9EVvWl4yOKSYtsiT9/t944bApGjFY/6vwmazG5FQcMResz4uDHftoFSZZ7nw227RLnfzuhZK6Sxrv0tRh8K53Ybp034vCK+1Ui1kzeK96Wgmj8hZ02r2RxZyjXvrir0Qn/4GijghioNdDx8+VxZwb7zSe/MwuI8JIvl2mfhE6v87CoHDyvgtvyhWcrK0clbjBQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXOM-0005LA-6f; Wed, 25 Dec 2024 14:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 1/9] gnu: rust-sha1-0.2: 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:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75096@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.173515616520467 (code B ref -1); Wed, 25 Dec 2024 19:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 19:49:25 +0000 Received: from localhost ([127.0.0.1]:38875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXNk-0005K2-UU for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:49:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:49238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXNi-0005Ju-UT for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:49:23 -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 1tQXNi-000659-Nx for guix-patches@gnu.org; Wed, 25 Dec 2024 14:49:22 -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 1tQXNg-0004ai-TG for guix-patches@gnu.org; Wed, 25 Dec 2024 14:49:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156154; 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=z35OewWxu3fNG6CMPNa8nmseboKl43rz6M8hRJnvujw=; b=QfGSTgRq//VoKwpOg+SmW1cS9GOHgkjQ7T4y5fGR4/Ck/jVLbsZvamOAIu4tlB3lDZ8pBf ukql9oLaF5LhnArjZ1dlN2xUTR8EHB6fDcsPRfGfxK0mlyus3S7wmaDuBZCiGz59F4xFdD 2byU45v/Zqfg3eoUfuoeihZBryf8JNo0cnsEm7ts9jNI27eJk9vVQclOZlph2E4czdhrO4 AHeQjZ+0YYY5/uJJKgnzwQ6zl3Tm+J3MII5zztBNt6LB578YWD5IZXxc3XT5JtlYwejhpF Mi0Mk+rgWUaXp5gQlTM0HBf4JlSH3nbMWtWhJh6SLSzPVdnCbQgr+fHuhNVKaA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 01235142 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Wed, 25 Dec 2024 19:49:14 +0000 (UTC) Date: Wed, 25 Dec 2024 20:48:32 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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 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-crypto.scm (rust-sha-0.2): Add snippet. [phases]: Remove 'fix-cargo-toml phase. Change-Id: Iaaa129e438a8798f9a8f8d418bb3c9302c7c6fcb --- gnu/packages/crates-crypto.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) base-commit: 893599007e9304ea9785ebb839946cc5979ecd45 diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index fef6ba8d44..2b4f81e023 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -5714,23 +5714,17 @@ (define-public rust-sha1-0.2 (origin (method url-fetch) (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")))) + (base32 "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments `(#:tests? #f ; Tests require openssl-1.0 #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.7) - ("rust-rand" ,rust-rand-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))))) + ("rust-rand" ,rust-rand-0.3)))))) (define-public rust-sha1-asm-0.5 (package 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 From patchwork Wed Dec 25 19:49:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35592 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 E2EFB27BBEA; Wed, 25 Dec 2024 19:51:24 +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 A16B927BBE2 for ; Wed, 25 Dec 2024 19:51:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXPM-0006OY-0J; 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 1tQXPL-0006OL-0p for guix-patches@gnu.org; Wed, 25 Dec 2024 14:51:03 -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-00052J-O7 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=yA/y1ncduykLA53lcnAVn4XRoSZH6v+IZjvaoDZgy08=; b=EEnqD/4NIeEQS/vjYpIu/vJxMVIbwvjXj5K+k8xOPWcAAR/tc+CMoXRhdriXie1uVCEGRkeZe/naH9HSuAq97+1Cun0ImGNfIk+ss9taDkYg7BCw+4WzMCltkWJHmjawCpdyDU50vfkhlHMhrJi525SNaa7H8s/vcQHx0fX52AbcSwafhztYtATEjyHwj8WLJylTw5SPNLP7RN/5JABkX1cHGQYFhmM4aogF1YT74QJccX+LRGZ4ofoGVSU3r7bplEG+M9MsUbQ3nFp0mPqxb484UVkanAWaKQ9TrUzjqzTmVm+taOmTRmBXwIuAkWpMo3N5qWlr21jwyntEkXBAUw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXPK-0005Tz-IC; Wed, 25 Dec 2024 14:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 3/9] gnu: rust-openssl-0.7: 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:02 +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.173515625521032 (code B ref 75096); Wed, 25 Dec 2024 19:51:02 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:50:55 +0000 Received: from localhost ([127.0.0.1]:38890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPC-0005Sy-Px for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:55 -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 1tQXPA-0005SO-NU for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156238; 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=yA/y1ncduykLA53lcnAVn4XRoSZH6v+IZjvaoDZgy08=; b=uptctpKCYKFrP6lGU7/7wW9BzJDUspk1hP7+MjskKIA3NDO7k2/8RJNHlt260F2Vd3jcuw /EEyqxoXBlBDnE3UkQc7/nbYCR5N/y3WhI07rAKYt6PilA8ynH3MIq2kD+4Ioj/xlB6nqf idK9vm3HDX+ZJWWPWtIzejWFj3KfBCOsJCuu9nqRedA2GxDf3YECYSz7WshcaL5Krog5Sl G1dmt9Q35L7Be5odeTqR0vXDb5fFlbohiVGIiMpuJ6mwbztm1Ph1V2U3POIZTP37YPNA3O D6j3KI0+iudEgh11zxTDSXzXyPSrSh/nscBaG8x+NY4KyQyhkvAYjWligwXIwg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id e39e84f6 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:38 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:49 +0100 Message-ID: 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-openssl-0.7): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2286eabb75..0518e9e98b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54307,11 +54307,12 @@ (define-public rust-openssl-0.7 (origin (method url-fetch) (uri (crate-uri "openssl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4")))) + (base32 "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments `(#:skip-build? #t ; Build depends on openssl-1.0. #:cargo-inputs @@ -54325,14 +54326,7 @@ (define-public rust-openssl-0.7 (("rust-net2" ,rust-net2-0.2) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))))) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))))) (define-public rust-openssl-macros-0.1 (package From patchwork Wed Dec 25 19:49:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35593 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 19D9827BBEA; Wed, 25 Dec 2024 19:52:13 +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 D884527BBE2 for ; Wed, 25 Dec 2024 19:52:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQJ-0006Xe-7Y; Wed, 25 Dec 2024 14:52:03 -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 1tQXQI-0006XF-3c for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52: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 1tQXQH-0005Ni-R0 for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52:01 -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=zkxubyC3FuU5yIa4/TQB9s3n4DRAZD9U3LUhI4YDN1s=; b=U3Upse94WQeCHLk1HfayolSNT00rxgr0THnJgz9MfpL+XJNv7E3s7FTeKNUd03wfrQb6X/cJ0WrWuS8mBqxuN56RRVPg9xpZRR7brk5qEhrIA+sgQ0yiRg4Sp/AofF7NyLhBX30Kt6yvEL/WqDyutiq4NiSJT3o9tof9Rjk7QnU5Jxr9wUnwao3VxK7BEvSD92wZ+ztXVoPkLpKmFlemCQnYNGPOY04DpH1Vq9pWNSLeX5ly9KRAjCn3YVeJKaivs0Ebw42jTuwx0z8SFmjoQ2vyk50CIakt29PwbyjWh+oQvnP+gBZqa+smOKQ51IWzMExIwlBZ9uUFjOBnYHfzLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQH-0005WQ-LY; Wed, 25 Dec 2024 14:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 4/9] gnu: rust-openssl-sys-extras-0.7: 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: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.173515626421115 (code B ref 75096); Wed, 25 Dec 2024 19:52:01 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:04 +0000 Received: from localhost ([127.0.0.1]:38900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPL-0005UI-FC for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:51:03 -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 1tQXPB-0005SO-EO for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156238; 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=zkxubyC3FuU5yIa4/TQB9s3n4DRAZD9U3LUhI4YDN1s=; b=YX68+dnWFfZczmEM9l0FYCpmWb6tFpWLciGejNYoXRx6Qj0y2p2zCBnB+GZqmma/67MKtA 3UcUFsn6Z9pv7jEhkdfEV/KlcglHuVbdvDH7f3XUuyBPP5g5Q/freKH2jDqfWb+5TZWurm bYamco+xe39WF7J3SeS6Krb+sjTQ71CxhdcIa9zpoLD7P4jV7NIZ3F+pzf/SxyXUI45FaA YxJzmMfHjq1udsLTvATV9uexHzNYYXhsPUayA6zi/HsPTojgP5if6vD3XLxSgrkHrlJ0zn pO1U2KXUg4y9atHGcHYT7a5t5+mkywxoztU+sZ5eeb9Bk622uENvWP+OMpIT0g== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 26b40ca3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:38 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:50 +0100 Message-ID: <2d5f84330b76824c9c1644ca47d842ed50c7ddf0.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-openssl-sys-extras-0.7): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0518e9e98b..ccced67305 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54450,25 +54450,19 @@ (define-public rust-openssl-sys-extras-0.7 (origin (method url-fetch) (uri (crate-uri "openssl-sys-extras" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i")))) + (base32 "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Depends on openssl-1.0. #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-openssl-sys" ,rust-openssl-sys-0.7) - ("rust-gcc" ,rust-gcc-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))) + ("rust-gcc" ,rust-gcc-0.3)))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "Extra FFI bindings to OpenSSL that require a C shim") From patchwork Wed Dec 25 19:49:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35595 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 ECAD427BBEA; Wed, 25 Dec 2024 19:52:24 +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 B36CA27BBE2 for ; Wed, 25 Dec 2024 19:52:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQJ-0006Xu-FH; Wed, 25 Dec 2024 14:52:03 -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 1tQXQI-0006XN-KS for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52: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 1tQXQI-0005O7-CC for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52: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=a+6cWhPguV5ULzsMeFcT5MWephbG0Lpkrq0eIaRXh1A=; b=bMx0W7q4gPIMyEF7z0dtKLZn2kfG/1kxwSCD5KaBeEPyf2b7T4LgoZlQPxmGlym29lXOHAyswTeAXezh1KyemD688KM1tfGXxfPVoNmcudQSbR1Z2q3SRiTRfkAWn4oEBXvTTvm8/Kej4CzZZsG10UJHMwQBYvMj5TAikpPoJwE/XB9053Y2RJGi0qaCkiGzhbOo5cLwWRLpn6www77XKNNYzzjHW49Z0O4JP1TialqR2IJf1RlvGt+2bCCoYRBge/MYIWJtvez5Mqbn9xAHS6Y+/SwfSDCdNJtyWYKudHvSiEPLqYSIlBF2AfKnDaBe76K+nwcBabxsaRb9s64abQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQI-0005WY-6Y; Wed, 25 Dec 2024 14:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 5/9] gnu: rust-serde-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:52:02 +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.173515626421123 (code B ref 75096); Wed, 25 Dec 2024 19:52:02 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:04 +0000 Received: from localhost ([127.0.0.1]:38902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPM-0005UX-2Z for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:51:04 -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 1tQXPC-0005SO-4w for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156239; 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=a+6cWhPguV5ULzsMeFcT5MWephbG0Lpkrq0eIaRXh1A=; b=kClnLlU+OIdv9P/Oebq93SpGQf9NtZdW1Lt92jGTvRdyxa7j2IrmacPKVK+harSsjHJ55N WXubNWbF7gUTFBQU+g6gt3KeGteRxCkHwytgW7t3b+V/paNorpbE3gh8uGhR/80nHpSgDR NQt13Ro0WPDQcXO9RntoHBZUiN2tawQcpTU0LIiHUIvWq3vlq03OU/4eXPEt7a4AnAGOHu m+WIhqJZKB4j1OM67Z0eVXg/dqaWGA3clIZZpqMcOnYrWtsYsPTeHGmQXieiwhCY3xBJ20 8Zg+No5UkONdtlUxWuqzykDgFBRjQ/1ToTDIHYg8upmXW4/FpW3+ZGO+eBuKog== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 01268f68 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:39 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:51 +0100 Message-ID: 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-serde-0.9): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ccced67305..672846f54c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -75664,20 +75664,14 @@ (define-public rust-serde-0.9 (origin (method url-fetch) (uri (crate-uri "serde" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil")))) + (base32 "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs + `(#:cargo-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)))))) From patchwork Wed Dec 25 19:49:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35598 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 5892627BBEA; Wed, 25 Dec 2024 19:52:39 +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 10CFD27BBE2 for ; Wed, 25 Dec 2024 19:52:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQK-0006YE-JA; Wed, 25 Dec 2024 14:52: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 1tQXQJ-0006XY-3c for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52:03 -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 1tQXQI-0005OI-Re for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52: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=KRV+2n27F5KwhIvyWKim/aCv1xGVTP1ofKsHXwTDey8=; b=dmD21NzpmXGCtRYER3sB4+9WQvDr0L+EfXFkvgX/+8RqDZUGfuNkhZFSKbspChBClERZtMQ40C7qZEGRyLSRQd97Exh6B+Njv2ByhAZvwBjZVrBSTtxUwd7vqO46rKy60iTzzB07Q1rXKPgYXpNS3PFfVvLrejUJaw6dO6EcLPbsqUziTYcJZ8N57m9K+2pTksZrI1c4AL+A9VchW/yUBwjP5XsPb3L8VYVU/bs2d/WeIyRwNfKXZyq6IWq96RVzIoWmGVUBQ5HB6SBpDgmnLA05VouPz9+pP4+hSjD4S3/qsPWxMLWp/LH7Kw27Z47+CCei93lOg1PVHeFlskIbDA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQI-0005Wh-MW; Wed, 25 Dec 2024 14:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 6/9] gnu: rust-serde-derive-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:52:02 +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.173515626421130 (code B ref 75096); Wed, 25 Dec 2024 19:52:02 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:04 +0000 Received: from localhost ([127.0.0.1]:38904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPM-0005Ue-EU for submit@debbugs.gnu.org; Wed, 25 Dec 2024 14:51:04 -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 1tQXPC-0005SO-VJ for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735156239; 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=KRV+2n27F5KwhIvyWKim/aCv1xGVTP1ofKsHXwTDey8=; b=UN0AhvGVfockvAFlLHgg1h56jgjx6Unzi9DgUqKprsmmOoQh9lmPVkychGgIWfebiPYeOH jhfEiqp/UvRV0gev/g1qrbO1o0+eDavIUB2gIlMXlcqBqRp+LNp1wjY3ffZp3Eg8wAbghg hDTbf90eDaFblIaMqDMhc4TmAApsiV4Dj9xLqNgql02JQzyXIpeQD48hU+ZJmjL0Jt7jka r+ijsvozq8jr86ceLUvY2KJnpgqUn7EiLUsisS0BNpxcoVDt+jWoiBcYrTkl4Bkw7zWuOd 6LaXp+d4gusCII37d47tSXXF2vtn7a7GZXlogJ9JKTIPpI23egd8neIoAtf54Q== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 8c2f2b38 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75096@debbugs.gnu.org>; Wed, 25 Dec 2024 19:50:39 +0000 (UTC) Date: Wed, 25 Dec 2024 20:49:52 +0100 Message-ID: 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-serde-derive-0.9): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 672846f54c..f08278c9ce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -75967,20 +75967,14 @@ (define-public rust-serde-derive-0.9 (origin (method url-fetch) (uri (crate-uri "serde_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fkldf0lnl6pwxs00qpyp79m30qmfpi3bk0wm22211ylyikdi3wp")))) + (base32 "1fkldf0lnl6pwxs00qpyp79m30qmfpi3bk0wm22211ylyikdi3wp")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs + `(#:cargo-inputs (("rust-quote" ,rust-quote-0.3) ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14) ("rust-syn" ,rust-syn-0.11)))))) From patchwork Wed Dec 25 19:49:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35597 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 B8BF527BBEA; Wed, 25 Dec 2024 19:52:37 +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 7C2FB27BBE2 for ; Wed, 25 Dec 2024 19:52:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQK-0006YL-QK; Wed, 25 Dec 2024 14:52: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 1tQXQJ-0006Xv-Kq for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52:03 -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 1tQXQJ-0005OU-CY for guix-patches@gnu.org; Wed, 25 Dec 2024 14:52: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:References:In-Reply-To:Date:From:To:Subject; bh=5c4BogY+n0Z6Ow0ekbTpwQbzvefm2ffIg2Z69HsplRA=; b=KordfFZK8LMP9Xan+gwAIv8DDMpZbyxenpLk/LxcGOyo7pvYcZnKD3LwYRkSx+WKJeTIVI5xnOy3hrxr905Du84+lSK3X5xSDOdmlQPwlyHRARpL9pY7RcRusS/EuRWNb7Bd4sap5vzfzQBo1aizoXNL46ZrDrnPZP0FiI9DiAS6QRzGJ5jHkVD/uFdCq4re0WQoQwu7NTn2lJxn0HC8eA3RLHGPMQvKYoMCQap/vKjeRftjRxLRC4BXK35TZvl604Wh2wm0pOCQzWxs3bFvmFruChz83i5sx8vBK5ZRJCh0cGDPAm8mmdL8sqWKKTgSY2djk1HzZVWmCtnt0y6GEg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQJ-0005Wp-80; Wed, 25 Dec 2024 14:52:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 7/9] gnu: rust-serde-test-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:52:03 +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.173515626521137 (code B ref 75096); Wed, 25 Dec 2024 19:52:03 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:05 +0000 Received: from localhost ([127.0.0.1]:38906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPM-0005Ul-Od 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]:39491 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPD-0005SO-RC for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:56 -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=5c4BogY+n0Z6Ow0ekbTpwQbzvefm2ffIg2Z69HsplRA=; b=g3Fc7lYTZ59Hh+aU4xorGd9kxEbgNwobJCQCs/hgPDhc/vjGreGuVl7zU7naB3NGX7vK6Y 3fGpaAXHoJYSEPSiX2uHWmTsA4xYXAXzHxhCSe+opG+7I6cW0qCwdkikCV2L4Fas14gKtK TIDXn4Dqt+Pi6W7ofj6TayxJzbXgSrZysGKQHKoOWjok8e3ZirP0zyjq21S7kQTu9xfalM KPoyYvzUpVXpt5Top9Wnq8OmO6drKQ+nDY7k0wn2vcXGxj/fSTnjVZp9f9qgy4utZT/dCz kWWvN1rYiJVpxQEe561/majR7sx0YmmEucRQVQ72i3XAOpbPTC4tMDLdAdktXw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c6bfe995 (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:53 +0100 Message-ID: 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-serde-test-0.9): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea --- gnu/packages/crates-io.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f08278c9ce..e5c93436c4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -76522,20 +76522,14 @@ (define-public rust-serde-test-0.9 (origin (method url-fetch) (uri (crate-uri "serde_test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf")))) + (base32 "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs (("rust-serde" ,rust-serde-0.9)))))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-0.9)))))) (define-public rust-serde-test-0.8 (package From patchwork Wed Dec 25 19:49:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35594 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 49D6327BBEA; Wed, 25 Dec 2024 19:52:18 +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 152DE27BBE2 for ; Wed, 25 Dec 2024 19:52:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQXQM-0006aU-VP; Wed, 25 Dec 2024 14:52:06 -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-0006Y3-7m 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 1tQXQJ-0005Oa-Vk 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=TUUgCDGvuP4hXUbbbiZ1STH5wM2pFlvM+6iz1ypTBHU=; b=NzyhGQ9AeKyEwGiaxo6k2fTeAGx1FuJWst9F1GwMJ71IUwBVsNcxFiuMNnoFqE9X+otSbaSrUOAt9f39l5MYFrgnggioaBG9momkB9zv+kj9XKm3seLryMzgIxe8BQAPn3x6UdZH5wJ3IV/xRvCcZqAWZr+1dfdkJQ8dcfF95MLvxSge25duhwQ37v3qppXP13k8rYUgvMyl612yjOrq4m31bFXhQFF1tcaqw3HWTS1ydz7WR71hKCIaeL95de2pah6I/Rp7ji+O6K2urIWmxX68pMipbDEoM36Dw73RoKz7DFKezDHjfBnKqx6mGi2TUhJrz2iWQ8ope5qdXKBFJw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQXQJ-0005Wz-Qw; Wed, 25 Dec 2024 14:52:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75096] [PATCH rust-team 8/9] gnu: rust-serde-test-0.8: 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:03 +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.173515626521144 (code B ref 75096); Wed, 25 Dec 2024 19:52:03 +0000 Received: (at 75096) by debbugs.gnu.org; 25 Dec 2024 19:51:05 +0000 Received: from localhost ([127.0.0.1]:38908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPN-0005Us-3d 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]:39491 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQXPE-0005SO-H1 for 75096@debbugs.gnu.org; Wed, 25 Dec 2024 14:50:56 -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=TUUgCDGvuP4hXUbbbiZ1STH5wM2pFlvM+6iz1ypTBHU=; b=CyqlpShLHj00tjEVGw4B02Mr7H7X3rgu6AFufiGJuS26kVu/TjgvKBZKQ4Wuk0CXijKGe4 0yDZijtoouQCx/Sh7ZEDOlc6shAeJ03r6ueoT+bzv9qF9HKRTMhN113m1yA56L/Oj/HCGb Ietih43LfacKv0i3Zh8HoVQe7yrxoZ0X2F3d8jfRcCT+CYyBWfBXySX5kSDUseJUITdrBn qxiQYXr7VX/e2TmrGEndRMNM3fclrD9t7wDMHdM2EXOmTmioslsbducj9BPtlny3GgFOUf 6Z51sjaQ6OGhsPsZfi8aU82ADNnw3Di8a26iLKOGe3hGDLKPcf2nE2nD02QhMw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 831ecdef (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:54 +0100 Message-ID: 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-serde-test-0.8): Add snippet. [phases]: Remove fix-Cargo-toml phase. Change-Id: I39a361603f5b7277e99c3b15c0b2ef4ffafd422f --- gnu/packages/crates-io.scm | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e5c93436c4..7b8d6bedf3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -76542,17 +76542,12 @@ (define-public rust-serde-test-0.8 (uri (crate-uri "serde_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1m939j7cgs7i58r6vxf0ffp3nbr8advr8p9dqa9w8zk0z2yks2qi")))) + (base32 "1m939j7cgs7i58r6vxf0ffp3nbr8advr8p9dqa9w8zk0z2yks2qi")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path = \"../serde\"") ""))))) (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-0.8)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-Cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path = \"../serde\"") "")) - #t))))))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-0.8)))))) (define-public rust-serde-transcode-1 (package From patchwork Wed Dec 25 19:49:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35596 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 8211327BBEA; Wed, 25 Dec 2024 19:52:34 +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 1337327BBE2 for ; Wed, 25 Dec 2024 19:52:34 +0000 (GMT) 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 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-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