aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-27 13:54:51 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 16:13:37 +0200
commit8764f1bffc3a6efb1ce11276ac232a051448f3d6 (patch)
tree87d8498d389231c6a46a88536673d731cbc2bdce /gnu
parent31b08f77e7f31cfaef0e485dc35cfda9d4b0a510 (diff)
downloadguix-8764f1bffc3a6efb1ce11276ac232a051448f3d6.tar.gz
guix-8764f1bffc3a6efb1ce11276ac232a051448f3d6.zip
gnu: rust-wayland-client: Add 0.29.4.
* gnu/packages/crates-graphics.scm (rust-wayland-client-0.29): New variable. (rust-wayland-client-0.28): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm51
1 files changed, 43 insertions, 8 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 3bff94baf8..0c9b323295 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2406,8 +2406,50 @@ applications.")
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))))))
+(define-public rust-wayland-client-0.29
+ (package
+ (name "rust-wayland-client")
+ (version "0.29.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-client" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13s5sj9344izk2g48yizk81kcg8jg4940gg2v6bzcmrjwxh388li"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false ;circular dependency on wayland-protocols
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-downcast-rs" ,rust-downcast-rs-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.22)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.29)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.29))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (inputs
+ (list rust-bitflags-1
+ rust-downcast-rs-1
+ rust-libc-0.2
+ rust-nix-0.22
+ rust-scoped-tls-1
+ rust-wayland-commons-0.29
+ rust-wayland-scanner-0.29
+ rust-wayland-sys-0.29))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Rust bindings to the standard C implementation of the wayland protocol")
+ (description
+ "This package provides Rust bindings to the standard C implementation of
+the wayland protocol, client side.")
+ (license license:expat)))
+
(define-public rust-wayland-client-0.28
(package
+ (inherit rust-wayland-client-0.29)
(name "rust-wayland-client")
(version "0.28.3")
(source
@@ -2435,14 +2477,7 @@ applications.")
rust-scoped-tls-1
rust-wayland-commons-0.28
rust-wayland-scanner-0.28
- rust-wayland-sys-0.28))
- (home-page "https://github.com/smithay/wayland-rs")
- (synopsis
- "Rust bindings to the standard C implementation of the wayland protocol")
- (description
- "This package provides Rust bindings to the standard C implementation of
-the wayland protocol, client side.")
- (license license:expat)))
+ rust-wayland-sys-0.28))))
(define-public rust-wayland-client-0.23
(package