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 6P4qNO/fcmcQ1wAAqHPOHw:P1 (envelope-from ) for ; Mon, 30 Dec 2024 18:01:20 +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 6P4qNO/fcmcQ1wAAqHPOHw (envelope-from ) for ; Mon, 30 Dec 2024 19:01:19 +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=InlFvNh1; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=QRFO6EBm; 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=1735581647; 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=X8y+UwKUkhD38o/owWCcop8nTfx1jxdo7W5xTcZMds4=; b=fxtN9w+uAsjZUbS/hLvQWEBEBlJQoJdMbu3/Pf/m4ZUktMhy3JnOCBz1GedU4TjYTczu7o eEtWiKLbG/yeU8pbH/8KLJKxj6SfdLWPqsYzWqWtsblVoNF6RUqY/DlVpXOs1B2uHlzpMM mlFyXwWr/6az4Izb6ZJYeH1OVmB7/QQ2d3bFjdWJ4K7E/8ZK92fOY4QaeIKt0AZcricyRM JRLtOOy3WJjdq/LmqhdOuTsuE/EHauU3IFKMZbRkQ730IYWQZoHAddFSai7v//xfedV3vS g8KuEnWaltmZb6TvZJlmNb8rOB6iUnYSDMK9XhWm2+//wIo0E9YxzDP4obNcxg== 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=InlFvNh1; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=QRFO6EBm; 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=1735581647; a=rsa-sha256; cv=none; b=YyHYBZGXSprRuqLPlpyXkyJDxsLn/8SMj+qORAocHDLYxNVZbMV2//PFESg/KGnF0FzofG iWwLNMeHMdDpJsRXC4m4yaBFwjJ4nUkTqXYFMqnPOjgvnGIy4g0aHSRqtC+4I05jnfx1fM UY1EzRb+akR7Xf+j2XHgWhd7deAhv/itJ/epFUCk9OU/bke5dNV+sHcfpaElHyDKNHOt+F bGlnRLgQbs8WyzXQ0UCoQVXwKlV+zL724zoP5hl69/xDrWEm7g6yM4qzhydZ6ZoiEalfxW J5kx1clCqBtzKlpY0hOb/NDU6/K9zhJ01Lsf+P4vU4+3t3pgRX7dNLLuJ4q26g== 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 742149AF0B for ; Mon, 30 Dec 2024 19:00:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSK3r-0005s7-Gc; Mon, 30 Dec 2024 13:00:15 -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 1tSK3l-0005no-0Y for guix-patches@gnu.org; Mon, 30 Dec 2024 13:00:09 -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 1tSK3j-0000pg-Q8 for guix-patches@gnu.org; Mon, 30 Dec 2024 13:00:08 -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=X8y+UwKUkhD38o/owWCcop8nTfx1jxdo7W5xTcZMds4=; b=InlFvNh18NlvEhE9ziHb5T5BmPwSCZfgJ24Rw1Ovc/UX4ALoHRJVeljr5trNMGWzt278RapgM9ZbjrxAuFvyp+33jUcGRvRqH9Vb08KiZBNhFeQMRfWZzw9EHhasflwizs+ywj1XcYVrNzOOnScADmQDI4+y2iZpcwYKAzTPEVbkrz2BH4RYGs+A+DnNaYu22vqZNtYkbNxWejBAFmLJ0LGMIMB54aBOI6BOBy0nbsaAwbeIMyBFCCaFKQNPAQ7zuLCUucZE+aau4CbFJ6fzDeJBLB5zQSzAiwg8PSPAvhcppXh2PLh9a9cCyBHNFeahKyRT6h8uiEX7Qqp/N8058A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSK3j-0006xc-HN; Mon, 30 Dec 2024 13:00:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75206] [PATCH rust-team 10/10] gnu: rust-user32-sys-0.2: 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 18:00:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75206 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75206@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75206-submit@debbugs.gnu.org id=B75206.173558155026481 (code B ref 75206); Mon, 30 Dec 2024 18:00:07 +0000 Received: (at 75206) by debbugs.gnu.org; 30 Dec 2024 17:59:10 +0000 Received: from localhost ([127.0.0.1]:59867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSK2n-0006sz-SE for submit@debbugs.gnu.org; Mon, 30 Dec 2024 12:59:10 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:52271 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSK2Y-0006qL-3K for 75206@debbugs.gnu.org; Mon, 30 Dec 2024 12:58:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735581519; 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=X8y+UwKUkhD38o/owWCcop8nTfx1jxdo7W5xTcZMds4=; b=QRFO6EBmQrcPXxgNbOwcsWAxyu6GEcISIymyhxJq9MGKKupoBt3dlEK5L7sD14Py+7JL6E uchEKyJm07vK2NV1OS6CJtoRZ/T0dHuAkc/fhuDjXd7HmzvGsc+ljXh/FolWEuO6q7BH8V zkB2fT/lRpB1sXJw59cS6kSWsTfLD+xI7l8PAK4Fqg47P0HAU2hRSQlnWchnenYJzzGvQN XAxWCBr6iWCnPrWl/iv7MND/CkwLQxhvqe8/0GmDvAJL0a644uE0dCyXGiRYh5Op0uIJr+ rG2sLsHBFFSIe8jjTqshSmAmnpO/pWAPd5U69/PbjcP5IRDo5SB4zO6W6Nfjsw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 580ab02b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75206@debbugs.gnu.org>; Mon, 30 Dec 2024 17:58:39 +0000 (UTC) Date: Mon, 30 Dec 2024 18:57:45 +0100 Message-ID: <5b929503c39015aae1423f31f4410d56e209e470.1735580850.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee> References: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee> 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-Spam-Score: -6.20 X-Spam-Score: -6.20 X-Migadu-Queue-Id: 742149AF0B X-Migadu-Scanner: mx10.migadu.com X-TUID: NbzBGVfpFzTz * gnu/packages/crates-windows.scm (rust-user32-sys-0.2): Add snippet. [arguments]: Remove fix-cargo-toml phase. Change-Id: I4316d89719ba1837c87729aae4b38be9d2bad3d9 --- gnu/packages/crates-windows.scm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 90eb31544d8..2d1818c7d9b 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -928,17 +928,15 @@ (define-public rust-user32-sys-0.2 (uri (crate-uri "user32-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f")))) + (base32 "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)) - #:cargo-development-inputs (("rust-winapi-build" ,rust-winapi-build-0.1)) - #:phases (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") - "}")) #t))))) + #:cargo-development-inputs + (("rust-winapi-build" ,rust-winapi-build-0.1)))) (home-page "https://github.com/retep998/winapi-rs") (synopsis "Function definitions for the Windows API library user32") (description -- 2.45.2