diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-14 13:34:03 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:41:35 +0300 |
commit | 6c9a445fae15f874fb928cf7795b93bc2407ff04 (patch) | |
tree | 3e29c3cc06b96456ff0f1cb1da1c9651d0078d28 | |
parent | 6be314fad5f6f8ac2b138a05de71771f1062f103 (diff) | |
download | guix-6c9a445fae15f874fb928cf7795b93bc2407ff04.tar.gz guix-6c9a445fae15f874fb928cf7795b93bc2407ff04.zip |
gnu: Add rust-windows-interface-0.52.
* gnu/packages/crates-windows.scm (rust-windows-interface-0.52): New
variable.
(rust-windows-interface-0.48): Inherit from rust-windows-interface-0.52.
Change-Id: I3f989c2e4e600f9098bac9dabec495e287ec687f
-rw-r--r-- | gnu/packages/crates-windows.scm | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 50f6f69ccb..2cdd5c73b5 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1935,29 +1935,46 @@ windows crate.") (("rust-syn" ,rust-syn-1) ("rust-windows-tokens" ,rust-windows-tokens-0.32)))))) -(define-public rust-windows-interface-0.48 +(define-public rust-windows-interface-0.52 (package (name "rust-windows-interface") - (version "0.48.0") + (version "0.52.0") (source (origin (method url-fetch) (uri (crate-uri "windows-interface" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6")))) + (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "The interface macro for the windows crate") (description "This package provides the interface macro for the windows crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-interface-0.48 + (package + (inherit rust-windows-interface-0.52) + (name "rust-windows-interface") + (version "0.48.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6")))) + (arguments + `(#: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.46 (package (inherit rust-windows-interface-0.48) |