Subject: [bug#66842] [PATCH 04/39] gnu: Add rust-windows-interface-0.48.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:08 -0400

* gnu/packages/crates-io.scm (rust-windows-interface-0.48): New variable.

Change-Id: If9fff8d2a8db1ae80867d5bb16d3adb67f45346b
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++----------
 1 file changed, 27 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 167d5ee5e0..7cba70bc2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83400,8 +83400,32 @@ (define-public rust-windows-implement-0.32
 crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-interface-0.48
+  (package
+    (name "rust-windows-interface")
+    (version "0.48.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-interface" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "The interface macro for the windows crate")
+    (description
+     "This package provides the interface macro for the windows crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-interface-0.46
   (package
+    (inherit rust-windows-interface-0.48)
     (name "rust-windows-interface")
     (version "0.46.0")
     (source (origin
@@ -83411,18 +83435,11 @@ (define-public rust-windows-interface-0.46
               (sha256
                (base32
                 "0a87zxh3wq5ng1vvgqf7jhydsshrpc5w39pyvr0l1vyv3q5k67xc"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/microsoft/windows-rs")
-    (synopsis "The interface macro for the windows crate")
-    (description "This package provides the interface macro for the windows
-crate.")
-    (license (list license:expat license:asl2.0))))
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-windows-sys-0.48
   (package
-- 
2.34.1