aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-14 13:34:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:41:35 +0300
commitf2543ed5502899cb22353576fd17e8dc60d62f30 (patch)
tree9a8722f6a11ad52a4c48ff8c959e85c19bbab806 /gnu/packages/crates-windows.scm
parent6c9a445fae15f874fb928cf7795b93bc2407ff04 (diff)
downloadguix-f2543ed5502899cb22353576fd17e8dc60d62f30.tar.gz
guix-f2543ed5502899cb22353576fd17e8dc60d62f30.zip
gnu: Add rust-windows-0.52.
* gnu/packages/crates-windows.scm (rust-windows-0.52): New variable. (rust-windows-0.48): Inherit from rust-windows-0.52. Change-Id: Ide0e31b98d0577841d58b2e71ed4313abf25c0a2
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 2cdd5c73b5..9594013764 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1255,23 +1255,23 @@ for Rust.")
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
-(define-public rust-windows-0.48
+(define-public rust-windows-0.52
(package
(name "rust-windows")
- (version "0.48.0")
+ (version "0.52.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
+ (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-windows-implement" ,rust-windows-implement-0.48)
- ("rust-windows-interface" ,rust-windows-interface-0.48)
- ("rust-windows-targets" ,rust-windows-targets-0.48))))
+ `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52)
+ ("rust-windows-implement" ,rust-windows-implement-0.52)
+ ("rust-windows-interface" ,rust-windows-interface-0.52)
+ ("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,
@@ -1280,6 +1280,24 @@ 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-0.48
+ (package
+ (inherit rust-windows-0.52)
+ (name "rust-windows")
+ (version "0.48.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-windows-implement" ,rust-windows-implement-0.48)
+ ("rust-windows-interface" ,rust-windows-interface-0.48)
+ ("rust-windows-targets" ,rust-windows-targets-0.48))))))
+
(define-public rust-windows-0.46
(package
(inherit rust-windows-0.48)