diff options
author | Steve George <steve@futurile.net> | 2024-10-02 19:11:08 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:04:50 +0200 |
commit | 2cfc4ab84e065749d749952b1ffc527c3a47e2c0 (patch) | |
tree | a58e394430acbd36afabf7a49ffe7c09f48e7b27 /gnu | |
parent | 3f328ab6ed3dd5f07727c9facde33f743e5d9308 (diff) | |
download | guix-2cfc4ab84e065749d749952b1ffc527c3a47e2c0.tar.gz guix-2cfc4ab84e065749d749952b1ffc527c3a47e2c0.zip |
gnu: Add rust-windows-0.58.
* gnu/package/crates-windows.scm (rust-windows-0.58): New variable.
(rust-windows-0.52): Inherit from rust-windows-0.58.
Change-Id: I218e246a511a1fb79183919a640954dc2f3791ee
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-windows.scm | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index d2f05fc9c6..8d45d4f13c 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1329,22 +1329,20 @@ for Rust.") "Contains function definitions for the Windows API library ws2_32.") (license license:expat))) -(define-public rust-windows-0.52 +(define-public rust-windows-0.58 (package (name "rust-windows") - (version "0.52.0") + (version "0.58.0") (source (origin (method url-fetch) (uri (crate-uri "windows" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4")))) + (base32 "1dkjj94b0gn91nn1n22cvm4afsj98f5qrhcl3112v6f4jcfx816x")))) (build-system cargo-build-system) (arguments - `(#: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) + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.58) ("rust-windows-targets" ,rust-windows-targets-0.52)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Rust for Windows") @@ -1354,6 +1352,25 @@ 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.52 + (package + (inherit rust-windows-0.58) + (name "rust-windows") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4")))) + (build-system cargo-build-system) + (arguments + `(#: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)))))) + (define-public rust-windows-0.48 (package (inherit rust-windows-0.52) |