From patchwork Tue Mar 19 03:51:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61956 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 1B0E827BBE2; Tue, 19 Mar 2024 03:55:25 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO, 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 7B8A927BBEA for ; Tue, 19 Mar 2024 03:55:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQYT-0008VK-In; Mon, 18 Mar 2024 23:54:25 -0400 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 1rmQYS-0008Ub-Mx for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:24 -0400 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 1rmQYS-0008QI-EK for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQZ4-00066T-Se; Mon, 18 Mar 2024 23:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 29/43] gnu: Add rust-windows-bindgen-0.54. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082045823142 (code B ref 69890); Tue, 19 Mar 2024 03:55:02 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:54:18 +0000 Received: from localhost ([127.0.0.1]:35033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYL-000614-IP for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXz-0005w2-JQ for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 016A9240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820396; bh=kZz84eb1lIRwWmzcCLmVZWHdKzmLNBJmDU/xjNKt16g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=nGVUihJzx06iyK29lY9FKGPjIUaZyF4wSfiPOYRfYHP0RGKYJnsawVgT8Beb2OHGX 1JwGB9LwjrkmJcdawuiVfNwQm8rhFfKrGx6p2koS6oncJhSBQOaqKlswmiyZpAJ1Wk erAQ7dxdGyyO3Y/qqJRkaMNEMMEOko5IXSw4nA+1R+d16Yja+X4SdxnJuRrWEouc+u WbMowmJBnJEerDxLSTFEBCRplq8DyRCNUwmK6HeaKQXN9bir6ahXpbj9arpH2C/R3Q ZFMhzSZPAlk92B7Eo5O58CRNcouAHr/kWfwyu4NmKk7gSX4guRYCpa4PMW+a2NlRQa oGuP3aLvOmjvA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrC2Xrgz6tm4; Tue, 19 Mar 2024 04:53:15 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:00 +0000 Message-ID: <0693d8f8421e1edb3c49f76bc4f9147025cf9385.1710817681.git.normally_js@posteo.net> 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: , 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-windows.scm (rust-windows-bindgen-0.54): New variable. Change-Id: If155c0d55b33a4defe899f8cbdf32cbce17624e3 --- gnu/packages/crates-windows.scm | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 42097bbc39..66eea3b145 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1551,8 +1551,34 @@ (define-public rust-windows-aarch64-msvc-0.28 (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) +(define-public rust-windows-bindgen-0.54 + (package + (name "rust-windows-bindgen") + (version "0.54.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hid039rnygimc2kxkzfc892j6hcdjpza2490ggz35r8fjs7csfq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.54)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows metadata compiler") + (description "Windows metadata compiler.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-bindgen-0.52 (package + (inherit rust-windows-bindgen-0.54) (name "rust-windows-bindgen") (version "0.52.0") (source @@ -1562,16 +1588,11 @@ (define-public rust-windows-bindgen-0.52 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-rayon" ,rust-rayon-1) ("rust-syn" ,rust-syn-2) - ("rust-windows-metadata" ,rust-windows-metadata-0.52)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Windows metadata compiler") - (description "Windows metadata compiler.") - (license (list license:expat license:asl2.0)))) + ("rust-windows-metadata" ,rust-windows-metadata-0.52)))))) (define-public rust-windows-bindgen-0.51 (package