aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazew@gmail.com>2023-10-07 03:02:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-22 14:45:35 +0300
commitc94337e1aa1c08ff7b21febf269e6fb2d7c1c7bb (patch)
treecebae913661fabe2156e508db52830aba08933b5
parent8978843a81ccf414c37d50c44204defdbcae4604 (diff)
downloadguix-c94337e1aa1c08ff7b21febf269e6fb2d7c1c7bb.tar.gz
guix-c94337e1aa1c08ff7b21febf269e6fb2d7c1c7bb.zip
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>
-rw-r--r--gnu/packages/crates-graphics.scm38
1 files 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)