guix-commits
[Top][All Lists]
Advanced

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

21/156: gnu: Add rust-windows-implement-0.48.


From: guix-commits
Subject: 21/156: gnu: Add rust-windows-implement-0.48.
Date: Tue, 24 Oct 2023 08:52:04 -0400 (EDT)

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

commit 0a8105558bbf1bd65b4eb2fa0714bff50cc9f261
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:30:28 2023 +0300

    gnu: Add rust-windows-implement-0.48.
    
    * gnu/packages/crates-io.scm (rust-windows-implement-0.48): New variable.
    (rust-windows-implement-0.46): Inherit from rust-windows-implement-0.48.
    
    Change-Id: I428cd4739f9bb86bea4bba7c434a86afac3c596d
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4b0f6834e..e36ae45692 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83390,8 +83390,32 @@ crate.")
                (base32
                 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
 
+(define-public rust-windows-implement-0.48
+  (package
+    (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"))))
+    (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))))
+    (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.46
   (package
+    (inherit rust-windows-implement-0.48)
     (name "rust-windows-implement")
     (version "0.46.0")
     (source (origin
@@ -83401,18 +83425,12 @@ crate.")
               (sha256
                (base32
                 "09kw706qcms5yy34lf714zspj34v8jirfxv7yycavpcsa9czpd69"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (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))))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-windows-implement-0.32
   (package



reply via email to

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