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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Id253449da8071cefff25eba989709d1b548a27cf
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a92843ede5..3c745071e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -92164,28 +92164,43 @@ windows crate.")
                (base32
                 "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))))
 
-(define-public rust-windows-x86-64-gnu-0.48
+(define-public rust-windows-x86-64-gnu-0.52
   (package
     (name "rust-windows-x86-64-gnu")
-    (version "0.48.0")
+    (version "0.52.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "windows_x86_64_gnu" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya"))
+                "1zdy4qn178sil5sdm63lm7f0kkcjg6gvdwmcprd2yjmwn8ns6vrx"))
               (snippet
-               #~(delete-file "lib/libwindows.0.48.0.a"))))
+               '(delete-file "lib/libwindows.0.52.0.a"))))
     (build-system cargo-build-system)
-    (arguments
-     (list #:skip-build? #t))
+    (arguments (list #:skip-build? #t))
     (home-page "https://github.com/microsoft/windows-rs")
     (synopsis "Code gen support for the windows crate")
     (description
      "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.48
+  (package
+    (inherit rust-windows-x86-64-gnu-0.52)
+    (name "rust-windows-x86-64-gnu")
+    (version "0.48.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "windows_x86_64_gnu" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya"))
+              (snippet
+               #~(delete-file "lib/libwindows.0.48.0.a"))))
+    (arguments (list #:skip-build? #t))))
+
 (define-public rust-windows-x86-64-gnu-0.42
   (package
     (inherit rust-windows-x86-64-gnu-0.48)