efraim pushed a commit to branch rust-team
in repository guix.

commit e11467155712f9e0a81d634d49046bc825c7db75
Author: Steve George <st...@futurile.net>
AuthorDate: Wed Oct 2 19:41:14 2024 +0100

    gnu: Add rust-windows-interface-0.58.
    
    * gnu/packages/creates-windows.scm (rust-windows-interface-0.58): New 
variable.
    (rust-windows-interface-0.52): Inherit from rust-windows-interface-0.58.
    
    Change-Id: I4067eeb47867cb65b089e9f3b10c4ac7ce57c69b
---
 gnu/packages/crates-windows.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 415d5d899a..70de1823f8 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2086,28 +2086,45 @@ Windows crate.")
        (("rust-syn" ,rust-syn-1)
         ("rust-windows-tokens" ,rust-windows-tokens-0.32))))))
 
-(define-public rust-windows-interface-0.52
+(define-public rust-windows-interface-0.58
   (package
     (name "rust-windows-interface")
-    (version "0.52.0")
+    (version "0.58.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "windows-interface" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx"))))
+        (base32 "059mxmfvx3x88q74ms0qlxmj2pnidmr5mzn60hakn7f95m34qg05"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2))))
     (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.")
+    (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.52
+  (package
+    (inherit rust-windows-interface-0.58)
+    (name "rust-windows-interface")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-interface" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx"))))
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))))
+
 (define-public rust-windows-interface-0.48
   (package
     (inherit rust-windows-interface-0.52)

Reply via email to