guix-commits
[Top][All Lists]
Advanced

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

52/379: gnu: Add rust-windows-x86-64-gnu-0.48.


From: guix-commits
Subject: 52/379: gnu: Add rust-windows-x86-64-gnu-0.48.
Date: Mon, 10 Jul 2023 05:27:55 -0400 (EDT)

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

commit 7bf91705c1f37956a34be896fb8b8e858a1564fb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:24:32 2023 +0300

    gnu: Add rust-windows-x86-64-gnu-0.48.
    
    * gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.48): New
    variable.
    (rust-windows-x86-64-gnu-0.42): Inherit from
    rust-windows-x86-64-gnu-0.48.
---
 gnu/packages/crates-io.scm | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8e979abce..fda09bf827 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73638,19 +73638,19 @@ if they were just another Rust module.")
 windows crate.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-windows-x86-64-gnu-0.42
+(define-public rust-windows-x86-64-gnu-0.48
   (package
     (name "rust-windows-x86-64-gnu")
-    (version "0.42.2")
+    (version "0.48.0")
     (source (origin
               (method url-fetch)
-              (uri (crate-uri "windows_x86_64_gnu" version))
+              (uri (crate-uri "windows-x86_64-gnu" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0dnbf2xnp3xrvy8v9mgs3var4zq9v9yh9kv79035rdgyp2w15scd"))
+                "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya"))
               (snippet
-               '(delete-file "lib/libwindows.a"))))
+               '(delete-file "lib/libwindows.0.48.0.a"))))
     (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t))
@@ -73660,6 +73660,23 @@ windows crate.")
      "This package provides code gen support for the windows crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-x86-64-gnu-0.42
+  (package
+    (inherit rust-windows-x86-64-gnu-0.48)
+    (name "rust-windows-x86-64-gnu")
+    (version "0.42.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "windows_x86_64_gnu" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0dnbf2xnp3xrvy8v9mgs3var4zq9v9yh9kv79035rdgyp2w15scd"))
+              (snippet
+               '(delete-file "lib/libwindows.a"))))
+    (arguments
+     (list #:skip-build? #t))))
+
 (define-public rust-windows-x86-64-gnu-0.36
   (package
     (inherit rust-windows-x86-64-gnu-0.42)



reply via email to

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