Subject: [bug#67515] [PATCH 70/91] gnu: Add rust-windows-implement-0.34.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:48 +0100

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

Change-Id: Ib418a4eae46f5df3945a3888f27c5fc6f2cab7e1
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d769fc645f..d77e08d8ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84288,8 +84288,31 @@ (define-public rust-windows-implement-0.46
 windows crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-implement-0.34
+  (package
+    (name "rust-windows-implement")
+    (version "0.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-implement" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13amcdc4bv01xpb9bq9hyk2zqnmic2kf993m1gbfqdmmn19zykjm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ; windows namespace is not availeable
+       #:cargo-inputs (("rust-syn" ,rust-syn-1)
+                       ("rust-windows-tokens" ,rust-windows-tokens-0.34))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Implement macro for the windows crate")
+    (description "This package provides the implement macro for the windows
+crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-implement-0.32
   (package
+    (inherit rust-windows-implement-0.34)
     (name "rust-windows-implement")
     (version "0.32.0")
     (source (origin
@@ -84298,18 +84321,7 @@ (define-public rust-windows-implement-0.32
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-syn" ,rust-syn-1)
-        ("rust-windows-tokens" ,rust-windows-tokens-0.32))))
-    (home-page "https://github.com/microsoft/windows-rs")
-    (synopsis "Implement macro for the windows crate")
-    (description "This package provides the implement macro for the windows
-crate.")
-    (license (list license:expat license:asl2.0))))
+                "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))))
 
 (define-public rust-windows-interface-0.46
   (package
-- 
2.41.0