guix-commits
[Top][All Lists]
Advanced

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

20/311: gnu: Add rust-windows-interface-0.48.


From: guix-commits
Subject: 20/311: gnu: Add rust-windows-interface-0.48.
Date: Sat, 28 Oct 2023 16:37:24 -0400 (EDT)

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

commit 32471bcea81abf8c09d582a36bc9f856f436ef23
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:29:39 2023 +0300

    gnu: Add rust-windows-interface-0.48.
    
    * gnu/packages/crates-io.scm (rust-windows-interface-0.48): New variable.
    (rust-windows-interface-0.46): Inherit from rust-windows-interface-0.48.
    
    Change-Id: I64b4849aee3182922d65afd42a0178b56304e968
---
 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 394ad7d7db..e4b0f6834e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83437,8 +83437,32 @@ windows crate.")
 crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-interface-0.48
+  (package
+    (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"))))
+    (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 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.46
   (package
+    (inherit rust-windows-interface-0.48)
     (name "rust-windows-interface")
     (version "0.46.0")
     (source (origin
@@ -83448,18 +83472,12 @@ crate.")
               (sha256
                (base32
                 "0a87zxh3wq5ng1vvgqf7jhydsshrpc5w39pyvr0l1vyv3q5k67xc"))))
-    (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 interface macro for the windows crate")
-    (description "This package provides the interface macro for the windows
-crate.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-windows-sys-0.48
   (package



reply via email to

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