guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

73/330: gnu: Add rust-windows-implement-0.52.


From: guix-commits
Subject: 73/330: gnu: Add rust-windows-implement-0.52.
Date: Mon, 18 Mar 2024 07:15:17 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit ddcfb79be3aa51ba2c3e80e462c6cc7e75e8f2fe
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 13:33:35 2024 +0200

    gnu: Add rust-windows-implement-0.52.
    
    * gnu/packages/crates-windows.scm (rust-windows-implement-0.52): New
    variable.
    (rust-windows-implement-0.48): Inherit from rust-windows-implement-0.52.
    
    Change-Id: I78c41fe0d159eae5d214fbda4c053430043a16ed
---
 gnu/packages/crates-windows.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 1fe28964d8..50f6f69ccb 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1824,29 +1824,46 @@ crate.")
                (base32
                 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
 
-(define-public rust-windows-implement-0.48
+(define-public rust-windows-implement-0.52
   (package
     (name "rust-windows-implement")
-    (version "0.48.0")
+    (version "0.52.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "windows-implement" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy"))))
+        (base32 "0il91jkdgnwl20gm8dwbjswsmiq7paif49dyk5kvhwv72wrqq5hj"))))
     (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 implement macro for the windows crate")
     (description "This package provides the @code{implement} macro for the
 windows crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-implement-0.48
+  (package
+    (inherit rust-windows-implement-0.52)
+    (name "rust-windows-implement")
+    (version "0.48.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-implement" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-windows-implement-0.46
   (package
     (inherit rust-windows-implement-0.48)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]