guix-commits
[Top][All Lists]
Advanced

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

19/40: gnu: Add rust-wayland-scanner-0.30.


From: guix-commits
Subject: 19/40: gnu: Add rust-wayland-scanner-0.30.
Date: Sun, 22 Oct 2023 09:40:33 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c94337e1aa1c08ff7b21febf269e6fb2d7c1c7bb
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:25 2023 +0300

    gnu: Add rust-wayland-scanner-0.30.
    
    * gnu/packages/crates-graphics.scm (rust-wayland-scanner-0.30): New
    variable.
    (rust-wayland-scanner-0.29): Inherit from rust-wayland-scanner-0.30.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-graphics.scm | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 46f535c3ff..0935b5c2d3 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3096,25 +3096,27 @@ extensions.")
         ("rust-wayland-sys" ,rust-wayland-sys-0.21)
         ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
 
-(define-public rust-wayland-scanner-0.29
+(define-public rust-wayland-scanner-0.30
   (package
     (name "rust-wayland-scanner")
-    (version "0.29.5")
+    (version "0.30.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "wayland-scanner" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0lxx3i2kxnmsk421qx87lqqc9kd2y1ksjxcyg0pqbar2zbc06hwg"))))
+        (base32
+         "03ikmfwacsgbym2y4raf05knl1qjlgg81sy0174jxhzvayr77f5r"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f      ; Tests expect running wayland instance.
+       #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-xml-rs" ,rust-xml-rs-0.8))))
-    (inputs
-     (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8))
+        ("rust-quick-xml" ,rust-quick-xml-0.28)
+        ("rust-quote" ,rust-quote-1))
+       #:cargo-development-inputs
+       (("rust-similar" ,rust-similar-2))))
     (home-page "https://github.com/smithay/wayland-rs";)
     (synopsis "Generate Rust APIs from XML Wayland protocol files")
     (description
@@ -3124,6 +3126,26 @@ you are working on custom Wayland protocol extensions.  
Look at the
 wayland-client crate for usable bindings.")
     (license license:expat)))
 
+(define-public rust-wayland-scanner-0.29
+  (package
+    (inherit rust-wayland-scanner-0.30)
+    (name "rust-wayland-scanner")
+    (version "0.29.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wayland-scanner" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lxx3i2kxnmsk421qx87lqqc9kd2y1ksjxcyg0pqbar2zbc06hwg"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-xml-rs" ,rust-xml-rs-0.8))))
+    (inputs
+     (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8))))
+
 (define-public rust-wayland-scanner-0.28
   (package
     (inherit rust-wayland-scanner-0.29)



reply via email to

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