From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 UPluAT1ibGddFQAAe85BDQ:P1 (envelope-from ) for ; Wed, 25 Dec 2024 19:51:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UPluAT1ibGddFQAAe85BDQ (envelope-from ) for ; Wed, 25 Dec 2024 20:51:25 +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="EEnqD/4N"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=uptctpKC; 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=1735156284; 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=yA/y1ncduykLA53lcnAVn4XRoSZH6v+IZjvaoDZgy08=; b=f6i/bWwLkpk2wmCbbohLJqjIQdG8rmrzCOUewjjaBv70cJ3GguGcH8eNThCjbBe34CtKBm FfoF9CAGwVCcBIrnjFFEx4opJNOpIi/ZE2nYneSBTU3XxeuzNJ5JMjrEr1aJ6Ek3/lwxlZ qTlSKIk35FyvpFYj/RHHP1O27ftIqc2r7a1asFGPX+s5kuXVU8bT/Xiq90OniKVZyvnkH7 28dtRB5cU6U9VyZ61lroP8mqc4QIv2juBEAWl7EmpDvT8NB31/iDF972nc8aTvyTXXALb9 bxJNkcCIhDjxAkZg0ep6PZ/6HznUs4hR5nxMblcLMN9JPHKasYLBDXlMv/oZvA== 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="EEnqD/4N"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=uptctpKC; 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=1735156284; a=rsa-sha256; cv=none; b=pCZ8gWvkb2tO0O2n/W2TumGi5r9CdHWPrig/FB3L1T+X+fGPrvra74z/PA388EbPeh5jg1 ziqjCKAinKV+z/M1IfV6Xf92zDIArpdlgm2Jv1NvPE6TtbeS3n756S0E3NSQm1nnN4Xf2L ATrvFf1w2u2FUpxmHs9k3h41F2ZSBOAKsxfQ+u5rNjMwufqwl63IU8IuR2gJZ716nIhmLz GELiCoXtCkIEAqdZ16n7da/ocss7N+H4DAXZEaquKiBwSwH26vU8QWve5TIbJ+bA/LN992 ZYZZXzcDupg/qFQ+WUtw2PplZnhvf3sxTgMjRKPfu3jrfcxLh90MO8bcoNd8XA== 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 E64A683455 for ; Wed, 25 Dec 2024 20:51:24 +0100 (CET) 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 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: E64A683455 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.00 X-Spam-Score: -3.00 X-TUID: Q84VW97lGUYL * 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 -- 2.45.2