From patchwork Sat Jun 18 19:56:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40139 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 3838527BBEA; Sat, 18 Jun 2022 21:00:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable 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 6E46027BBE9 for ; Sat, 18 Jun 2022 21:00:50 +0100 (BST) Received: from localhost ([::1]:40808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ecj-0005go-JC for patchwork@mira.cbaines.net; Sat, 18 Jun 2022 16:00:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eb2-0003P7-FG for guix-patches@gnu.org; Sat, 18 Jun 2022 15:59:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eb2-0007vX-6J for guix-patches@gnu.org; Sat, 18 Jun 2022 15:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2eb2-00026g-5d for guix-patches@gnu.org; Sat, 18 Jun 2022 15:59:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [gnu: Add dua-cli. 25/27] gnu: Add rust-windows-sys-0.36 & per-target varitations. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 19:59:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org, antlers@luris.net X-Debbugs-Original-To: guix-patches@gnu.org, antlers@luris.net Received: via spool by submit@debbugs.gnu.org id=B.16555823007990 (code B ref -1); Sat, 18 Jun 2022 19:59:04 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2022 19:58:20 +0000 Received: from localhost ([127.0.0.1]:50180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eaJ-00024h-V2 for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:58:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:42252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eZr-0001wM-0h for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:57:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eZq-0001JZ-My for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:50 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:36563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eZm-0007cw-Bv for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:49 -0400 Received: by mail-pl1-x631.google.com with SMTP id u18so6528964plb.3 for ; Sat, 18 Jun 2022 12:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=aM4EcqYvcd1wJE8eF/qSoeEv6C0jI0imOpQNakH1TOM=; b=RYhJ8VPiPLiKJdHPupyURoeDHssaS+lDG+STyKFQXU/3yec6YaEpgw3RcupNjuIZwI VpBFiPV3/j8FfIlu1ycOKg0Tpqnb3LniBvJBQlIa+i5n3n4eVl/zg+uFqPAYCIyxy5wJ RSWTf0KdziO61LTDPOKzHbuOs7/4UhRfdqj8GoitjoIJa5alI/NK3Zcoy+hNovXFA1HU B5x3Ka+86lB/uiT7EfEA0mt+X8Pw8PYnG17mY6JjwRvi+WwA6U0eIOoxXqmIL1HOKczJ UtKz/hNNgTawTuBGG2mQ+ARRdVS91DOIZxOU0gWAD+C+5N9femoH+kjnVaBDLcukfAEp F5yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aM4EcqYvcd1wJE8eF/qSoeEv6C0jI0imOpQNakH1TOM=; b=GwRB/7mty1R4wQ4t8uAgHG/IOlNhYmpDWlAybPGa17UrUOYQQHjkvBo9Z9Hr6hGFvP 1cYGTdBJxWv5sBRNV6iMPgkwIZMqUwy9au+b7tGcFyakVHsWWX0TD2h8/5+osXm51mfZ bbVMHQStW+1xQ5MU6zfz+/fqEcZq0NdL7GF6gtVjGCE4JNAd4CcfHI4uHR7wRxY9o1ub 6cQJJUedVA81FkXy4IUUXEsgVsSBtkjykWXnvdGpPBVLemGkA7jLvLC1vkT2929ua80J AQqLUlFUUK9BUTo4WEwQNi6pLxlBMFDz3EihO59WvLF/S+dy6ZSPq9PbmJfqt2poeL2P Cyjw== X-Gm-Message-State: AJIora9g0CHfc/5ZrWTL8v/glrP8Dj12AB0PelS4N1tGxNeBxA7JUzPK 5hDWzenhhTu2Wxu2xq6GCGcjAE8SRps= X-Google-Smtp-Source: AGRyM1sLpGeeI7LNkzvLvTjEvHt6g0/ytf2BBTDFoGkwDCIPvr8IKQlEHV9xgw4GefDDd2qtVU6hNA== X-Received: by 2002:a17:90a:b284:b0:1e3:826b:d11d with SMTP id c4-20020a17090ab28400b001e3826bd11dmr18090116pjr.79.1655582264344; Sat, 18 Jun 2022 12:57:44 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id y2-20020a17090a104200b001ea629a431bsm5352528pjd.8.2022.06.18.12.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 12:57:44 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sat, 18 Jun 2022 12:56:54 -0700 Message-Id: <20220618195656.10108-26-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220618195656.10108-1-antlers@luris.net> References: <20220618195656.10108-1-antlers@luris.net> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=autumnalantlers@gmail.com; helo=mail-pl1-x631.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.36 rust-windows-x86-64-mscv-0.36 rust-windows-i686-gnu-0.36 rust-windows-i686-mscv-0.36 rust-windows-aarch64-mscv-0.36 rust-windows-sys-0.36): New variables. (rust-windows-x86-64-gnu-0.28 rust-windows-x86-64-mscv-0.28 rust-windows-i686-gnu-0.28 rust-windows-i686-mscv-0.28 rust-windows-aarch64-mscv-0.28 rust-windows-0.28): Inherit from rust-windows-*-0.36. --- :100644 100644 13e312a077 cb3b85ee68 M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 122 +++++++++++++++++++++++++++++++------ 1 file changed, 104 insertions(+), 18 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 13e312a077..cb3b85ee68 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72702,8 +72702,28 @@ (define-public rust-windows-0.9 (description "Rust for Windows") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-x86-64-msvc-0.36 + (package + (name "rust-windows-x86-64-msvc") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "103n3xijm5vr7qxr1dps202ckfnv7njjnnfqmchg8gl5ii5cl4f8")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description "This package provides code gen support for the windows +crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-x86-64-msvc-0.28 (package + (inherit rust-windows-x86-64-msvc-0.36) (name "rust-windows-x86-64-msvc") (version "0.28.0") (source @@ -72712,7 +72732,19 @@ (define-public rust-windows-x86-64-msvc-0.28 (uri (crate-uri "windows_x86_64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))) + (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))))) + +(define-public rust-windows-x86-64-gnu-0.36 + (package + (name "rust-windows-x86-64-gnu") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qfrck3jnihymfrd01s8260d4snql8ks2p8yaabipi3nhwdigkad")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/microsoft/windows-rs") @@ -72723,6 +72755,7 @@ (define-public rust-windows-x86-64-msvc-0.28 (define-public rust-windows-x86-64-gnu-0.28 (package + (inherit rust-windows-x86-64-gnu-0.36) (name "rust-windows-x86-64-gnu") (version "0.28.0") (source @@ -72731,7 +72764,19 @@ (define-public rust-windows-x86-64-gnu-0.28 (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw")))) + (base32 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw")))))) + +(define-public rust-windows-i686-msvc-0.36 + (package + (name "rust-windows-i686-msvc") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "097h2a7wig04wbmpi3rz1akdy4s8gslj5szsx8g2v0dj91qr3rz2")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/microsoft/windows-rs") @@ -72742,6 +72787,7 @@ (define-public rust-windows-x86-64-gnu-0.28 (define-public rust-windows-i686-msvc-0.28 (package + (inherit rust-windows-i686-msvc-0.36) (name "rust-windows-i686-msvc") (version "0.28.0") (source @@ -72750,7 +72796,19 @@ (define-public rust-windows-i686-msvc-0.28 (uri (crate-uri "windows_i686_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))) + (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))))) + +(define-public rust-windows-i686-gnu-0.36 + (package + (name "rust-windows-i686-gnu") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dm3svxfzamrv6kklyda9c3qylgwn5nwdps6p0kc9x6s077nq3hq")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/microsoft/windows-rs") @@ -72761,6 +72819,7 @@ (define-public rust-windows-i686-msvc-0.28 (define-public rust-windows-i686-gnu-0.28 (package + (inherit rust-windows-i686-gnu-0.36) (name "rust-windows-i686-gnu") (version "0.28.0") (source @@ -72769,7 +72828,19 @@ (define-public rust-windows-i686-gnu-0.28 (uri (crate-uri "windows_i686_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm")))) + (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm")))))) + +(define-public rust-windows-aarch64-msvc-0.36 + (package + (name "rust-windows-aarch64-msvc") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ixaxs2c37ll2smprzh0xq5p238zn8ylzb3lk1zddqmd77yw7f4v")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/microsoft/windows-rs") @@ -72780,6 +72851,7 @@ (define-public rust-windows-i686-gnu-0.28 (define-public rust-windows-aarch64-msvc-0.28 (package + (inherit rust-windows-aarch64-msvc-0.36) (name "rust-windows-aarch64-msvc") (version "0.28.0") (source @@ -72788,17 +72860,39 @@ (define-public rust-windows-aarch64-msvc-0.28 (uri (crate-uri "windows_aarch64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))) + (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) + +(define-public rust-windows-sys-0.36 + (package + (name "rust-windows-sys") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lmqangv0zg1l46xiq7rfnqwsx8f8m52mqbgg2mrx7x52rd1a17a")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.36) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.36) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.36) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36)))) (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description "This package provides code gen support for the windows -crate.") + (synopsis "Rust for Windows") + (description "The windows crate lets you call any Windows API past, +present, and future using code generated on the fly directly from the metadata +describing the API and right into your Rust package where you can call them as +if they were just another Rust module.") (license (list license:expat license:asl2.0)))) (define-public rust-windows-sys-0.28 (package + (inherit rust-windows-sys-0.36) (name "rust-windows-sys") (version "0.28.0") (source @@ -72808,7 +72902,6 @@ (define-public rust-windows-sys-0.28 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -72816,14 +72909,7 @@ (define-public rust-windows-sys-0.28 ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28) ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28) ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Rust for Windows") - (description "The windows crate lets you call any Windows API past, -present, and future using code generated on the fly directly from the metadata -describing the API and right into your Rust package where you can call them as -if they were just another Rust module.") - (license (list license:expat license:asl2.0)))) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28)))))) (define-public rust-windows-gen-0.9 (package