summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-10-30 22:52:19 -0400
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:24 +0200
commit68ffa2155fe57be9e68b6e1bfeb2bf341e0bb4e5 (patch)
treefab6482548b91703e3d45d85e0cc1343700231c7
parentfdb0ea10ed17ea0e13bde2b7a2a2d0b140a08d60 (diff)
gnu: Add rust-windows-implement-0.39.
* gnu/packages/crates-io.scm (rust-windows-implement-0.39): New variable. (rust-windows-implement-0.32): Inherit from rust-windows-implement-0.46. Change-Id: I180826bc7ba0a91b69553286e364bf79537a24d2 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 18 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b07d31897b..86646c5cbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89266,8 +89266,25 @@ windows crate.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-windows-implement-0.39
+ (package
+ (inherit rust-windows-implement-0.46)
+ (name "rust-windows-implement")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-implement" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ryfy5sgf26xmflf33zabzqn10pp6pjrbz75yh2xrdcwa27zj0ds"))))
+ (arguments
+ `(#:cargo-inputs (("rust-syn" ,rust-syn-1)
+ ("rust-windows-tokens" ,rust-windows-tokens-0.39))))))
+
(define-public rust-windows-implement-0.32
(package
+ (inherit rust-windows-implement-0.46)
(name "rust-windows-implement")
(version "0.32.0")
(source (origin
@@ -89277,17 +89294,11 @@ windows crate.")
(sha256
(base32
"0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-syn" ,rust-syn-1)
- ("rust-windows-tokens" ,rust-windows-tokens-0.32))))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Implement macro for the windows crate")
- (description "This package provides the implement macro for the windows
-crate.")
- (license (list license:expat license:asl2.0))))
+ ("rust-windows-tokens" ,rust-windows-tokens-0.32))))))
(define-public rust-windows-interface-0.48
(package