diff mbox series

[bug#73329,1/7] gnu: Add rust-windows-0.43.

Message ID d201d86ae1350b7ac008d7a9e463b69a33df499a.1726623493.git.lockbox@struct.foo
State New
Headers show
Series Add lsd utility | expand

Commit Message

Jordan Moore Sept. 18, 2024, 11:05 a.m. UTC
* gnu/packages/crates-windows.scm (rust-windows-0.43): New variable.
* gnu/packages/crates-windows.scm (rust-windows-interface-0.43): New
variable.
* gnu/packages/crates-windows.scm (rust-windows-implement-0.43): New
variable.

Change-Id: If6f0139141bb9550fe3996c4938134346bee376b
---
 gnu/packages/crates-windows.scm | 63 +++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index ef91db0e96..607919aef0 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -14,6 +14,7 @@ 
 ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1389,6 +1390,31 @@  (define-public rust-windows-0.44
         ("rust-windows-interface" ,rust-windows-interface-0.44)
         ("rust-windows-targets" ,rust-windows-targets-0.42))))))
 
+(define-public rust-windows-0.43
+  (package
+    (inherit rust-windows-0.44)
+    (name "rust-windows")
+    (version "0.43.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0i32alvc4n4l7abmv1fsvnd1lzw17f1cpr16kgx0sqz5wg82wrh4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.43)
+                             ("rust-windows-interface" ,rust-windows-interface-0.43)
+                             ("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.42)
+                             ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.42)
+                             ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.42)
+                             ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.42)
+                             ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.42)
+                             ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.42)
+                             ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.42))))))
+
 (define-public rust-windows-0.39
   (package
     (inherit rust-windows-0.46)
@@ -1973,6 +1999,24 @@  (define-public rust-windows-implement-0.44
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-windows-implement-0.43
+  (package
+    (inherit rust-windows-implement-0.48)
+    (name "rust-windows-implement")
+    (version "0.43.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-implement" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01zqmrdnz2j5qd4ahqjsz724mdabi577f400yywcahy7dl2rpqmp"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-windows-implement-0.39
   (package
     (inherit rust-windows-implement-0.46)
@@ -2084,6 +2128,25 @@  (define-public rust-windows-interface-0.44
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-windows-interface-0.43
+  (package
+    (inherit rust-windows-interface-0.44)
+    (name "rust-windows-interface")
+    (version "0.43.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-interface" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06drakcacg4d680qa2sk62kqn7ini00xw3zz0hwqwx1my2z4z3dw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                             ("rust-quote" ,rust-quote-1)
+                             ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-windows-interface-0.39
   (package
     (inherit rust-windows-interface-0.46)