guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

75/330: gnu: Add rust-windows-0.52.


From: guix-commits
Subject: 75/330: gnu: Add rust-windows-0.52.
Date: Mon, 18 Mar 2024 07:15:18 -0400 (EDT)

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

commit aac922bdb968b7dc1beeebb930cb215baef36b52
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 13:34:29 2024 +0200

    gnu: Add rust-windows-0.52.
    
    * gnu/packages/crates-windows.scm (rust-windows-0.52): New variable.
    (rust-windows-0.48): Inherit from rust-windows-0.52.
    
    Change-Id: Ide0e31b98d0577841d58b2e71ed4313abf25c0a2
---
 gnu/packages/crates-windows.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 2cdd5c73b5..9594013764 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1255,23 +1255,23 @@ for Rust.")
      "Contains function definitions for the Windows API library ws2_32.")
     (license license:expat)))
 
-(define-public rust-windows-0.48
+(define-public rust-windows-0.52
   (package
     (name "rust-windows")
-    (version "0.48.0")
+    (version "0.52.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "windows" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
+        (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-windows-implement" ,rust-windows-implement-0.48)
-        ("rust-windows-interface" ,rust-windows-interface-0.48)
-        ("rust-windows-targets" ,rust-windows-targets-0.48))))
+     `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52)
+                       ("rust-windows-implement" ,rust-windows-implement-0.52)
+                       ("rust-windows-interface" ,rust-windows-interface-0.52)
+                       ("rust-windows-targets" ,rust-windows-targets-0.52))))
     (home-page "https://github.com/microsoft/windows-rs";)
     (synopsis "Rust for Windows")
     (description "The windows crate lets you call any Windows API past,
@@ -1280,6 +1280,24 @@ describing the API and right into your Rust package 
where you can call them as
 if they were just another Rust module.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-0.48
+  (package
+    (inherit rust-windows-0.52)
+    (name "rust-windows")
+    (version "0.48.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-windows-implement" ,rust-windows-implement-0.48)
+        ("rust-windows-interface" ,rust-windows-interface-0.48)
+        ("rust-windows-targets" ,rust-windows-targets-0.48))))))
+
 (define-public rust-windows-0.46
   (package
     (inherit rust-windows-0.48)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]