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

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

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

Change-Id: I3ed3fc74e6258a00a79aac4fd7b125398601531e
---
 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 7cba70bc2e..50c8f98b19 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83353,8 +83353,32 @@ (define-public rust-windows-i686-msvc-0.28
                (base32
                 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
 
+(define-public rust-windows-implement-0.48
+  (package
+    (name "rust-windows-implement")
+    (version "0.48.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-implement" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy"))))
+    (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 implement macro for the windows crate")
+    (description "This package provides the @code{implement} macro for the
+windows crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-implement-0.46
   (package
+    (inherit rust-windows-implement-0.48)
     (name "rust-windows-implement")
     (version "0.46.0")
     (source (origin
@@ -83364,18 +83388,11 @@ (define-public rust-windows-implement-0.46
               (sha256
                (base32
                 "09kw706qcms5yy34lf714zspj34v8jirfxv7yycavpcsa9czpd69"))))
-    (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 implement macro for the windows crate")
-    (description "This package provides the @code{implement} 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-implement-0.32
   (package
-- 
2.34.1