summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Ziltener <dziltener@lyrion.ch>2023-12-11 18:58:23 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:44 +0200
commit920b127c5043f732c0dda1418ee3a37e6cacef47 (patch)
tree3f693a33f93857399c12547e0ad3f2deb409c543
parentc9af6e65284be04b23d1bf542ccd6441752b7752 (diff)
downloadguix-920b127c5043f732c0dda1418ee3a37e6cacef47.tar.gz
gnu: Add rust-windows-x86-64-msvc-0.52.
* gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.52): New
variable.
(rust-windows-x86-64-msvc-0.48): Inherit from
rust-windows-x86-64-msvc-0.52.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie0668e456b88da2f47f6dbccde2b4260d5b58cf9
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 19 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c745071e7..ffae839c0f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -92328,19 +92328,19 @@ windows crate.")
                '(delete-file "lib/libwindows.a"))))
     (arguments (list #:skip-build? #t))))
 
-(define-public rust-windows-x86-64-msvc-0.48
+(define-public rust-windows-x86-64-msvc-0.52
   (package
     (name "rust-windows-x86-64-msvc")
-    (version "0.48.0")
+    (version "0.52.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "windows_x86_64_msvc" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s"))
+                "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz"))
               (snippet
-               #~(delete-file "lib/windows.0.48.0.lib"))))
+               '(delete-file "lib/windows.0.52.0.lib"))))
     (build-system cargo-build-system)
     (arguments (list #:skip-build? #t))
     (home-page "https://github.com/microsoft/windows-rs")
@@ -92349,6 +92349,21 @@ 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-msvc-0.48
+  (package
+    (inherit rust-windows-x86-64-msvc-0.52)
+    (name "rust-windows-x86-64-msvc")
+    (version "0.48.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "windows_x86_64_msvc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s"))
+              (snippet
+               #~(delete-file "lib/windows.0.48.0.lib"))))
+    (arguments (list #:skip-build? #t))))
+
 (define-public rust-windows-x86-64-msvc-0.42
   (package
     (inherit rust-windows-x86-64-msvc-0.48)