guix-commits
[Top][All Lists]
Advanced

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

80/424: gnu: Add rust-windows-sys-0.59.


From: guix-commits
Subject: 80/424: gnu: Add rust-windows-sys-0.59.
Date: Sun, 10 Nov 2024 05:41:20 -0500 (EST)

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

commit d135b975edb412cb7a7cf2f584db1b0a4a189d9b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 19 13:44:37 2024 +0300

    gnu: Add rust-windows-sys-0.59.
    
    * gnu/packages/crates-windows.scm (rust-windows-sys-0.59): New variable.
    (rust-windows-sys-0.52): Inherit from rust-windows-sys-0.59.
    
    Change-Id: Iddcf29b1577f2a1d69e16bbc6bd6260a6c855e36
---
 gnu/packages/crates-windows.scm | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 7e9c4623a5..bda7697c93 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2160,8 +2160,31 @@ crate.")
        (sha256
         (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm"))))))
 
+(define-public rust-windows-sys-0.59
+  (package
+    (name "rust-windows-sys")
+    (version "0.59.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fw5672ziw8b3zpmnbp9pdv1famk74f1l9fcbc3zsrzdg56vqf0y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("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,
+present, and future using code generated on the fly directly from the metadata
+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-sys-0.52
   (package
+    (inherit rust-windows-sys-0.59)
     (name "rust-windows-sys")
     (version "0.52.0")
     (source (origin
@@ -2171,17 +2194,9 @@ crate.")
               (sha256
                (base32
                 "0gd3v4ji88490zgb6b5mq5zgbvwv7zx1ibn8v3x83rwcdbryaar8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-       #:cargo-inputs (("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,
-present, and future using code generated on the fly directly from the metadata
-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))))
+       #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))))
 
 (define-public rust-windows-sys-0.48
   (package



reply via email to

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