From 68ffa2155fe57be9e68b6e1bfeb2bf341e0bb4e5 Mon Sep 17 00:00:00 2001 From: Jaeme Sifat Date: Mon, 30 Oct 2023 22:52:19 -0400 Subject: 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 --- gnu/packages/crates-io.scm | 25 ++++++++++++++++++------- 1 file 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 -- cgit v1.2.3