summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorJordan Moore <lockbox@struct.foo>2024-12-02 22:00:04 -0500
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:14:18 +0200
commitadf1ad9c87730989cc2a36103cedfe958df49e68 (patch)
treeb187fe36b956db371a336ca17531d87aa7ba85ca /gnu/packages/crates-windows.scm
parentccbc731dbce068e30f066ce9951fd56b155c3aa0 (diff)
gnu: Add rust-windows-core-0.56.
* gnu/packages/crates-windows.scm (rust-windows-core-0.56): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index b8baa4a7bf0..c678eeada01 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1978,9 +1978,29 @@ crate.")
#:cargo-development-inputs
(("rust-windows-bindgen" ,rust-windows-bindgen-0.57))))))
+(define-public rust-windows-core-0.56
+ (package
+ (inherit rust-windows-core-0.57)
+ (name "rust-windows-core")
+ (version "0.56.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19pj57bm0rzhlk0ghrccd3i5zvh0ghm52f8cmdc8d3yhs8pfb626"))))
+ (arguments
+ `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.56)
+ ("rust-windows-interface" ,rust-windows-interface-0.56)
+ ("rust-windows-result" ,rust-windows-result-0.1)
+ ("rust-windows-targets" ,rust-windows-targets-0.52))
+ #:cargo-development-inputs
+ (("rust-windows-bindgen" ,rust-windows-bindgen-0.56))))))
+
(define-public rust-windows-core-0.52
(package
- (inherit rust-windows-core-0.58)
+ (inherit rust-windows-core-0.56)
(name "rust-windows-core")
(version "0.52.0")
(source
@@ -1990,13 +2010,8 @@ crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1nc3qv7sy24x0nlnb32f7alzpd6f72l4p24vl65vydbyil669ark"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Rust for Windows")
- (description "This package provides the core of Rust for Windows.")
- (license (list license:expat license:asl2.0))))
+ `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))))))
(define-public rust-windows-i686-gnu-0.52
(package