From 90818b39c8e847c2135c60bc186a8523055a294e Mon Sep 17 00:00:00 2001 From: Tomas Volf <~@wolfsden.cz> Date: Thu, 15 Feb 2024 21:26:56 +0100 Subject: [PATCH] gnu: Add rust-windows-metadata-0.52. * gnu/packages/crates-windows.scm (rust-windows-metadata-0.52): New variable. (rust-windows-metadata-0.51): Inherit from rust-windows-metadata-0.52. Change-Id: Ic8c951050bec955b05d2c9fe25da186e23b16f9a Signed-off-by: Efraim Flashner --- gnu/packages/crates-windows.scm | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 79a8674454..ac2271e5ad 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022, 2023 Efraim Flashner ;;; Copyright © 2023 Jaeme Sifat ;;; Copyright © 2023 Daniel Ziltener +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1936,8 +1937,26 @@ (define-public rust-windows-interface-0.39 (sha256 (base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2")))))) +(define-public rust-windows-metadata-0.52 + (package + (name "rust-windows-metadata") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1")))) + (build-system cargo-build-system) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows metadata reader") + (description "Windows metadata reader.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-metadata-0.51 (package + (inherit rust-windows-metadata-0.52) (name "rust-windows-metadata") (version "0.51.1") (source @@ -1946,12 +1965,7 @@ (define-public rust-windows-metadata-0.51 (uri (crate-uri "windows-metadata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))) - (build-system cargo-build-system) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Windows metadata reader") - (description "Windows metadata reader.") - (license (list license:expat license:asl2.0)))) + (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))))) (define-public rust-windows-sys-0.52 (package