summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:18:57 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:13 +0200
commit65c8da7fe10bd777eafcf511cb957585c55de44e (patch)
tree307adee225dd477f75a13b40ba939cb0246bf2a3
parent3427ea37b08366e3b0312a49c636e8c72bc36714 (diff)
gnu: Add rust-wayland-protocols-0.31.
* gnu/packages/crates-graphics.scm (rust-wayland-protocols-0.31): New variable. (rust-wayland-protocols-0.30): Inherit from rust-wayland-protocols-0.31. Change-Id: I8293db369d41c0cff1676bd68773bb1b71253550
-rw-r--r--gnu/packages/crates-graphics.scm35
1 files changed, 27 insertions, 8 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 33bcc81d65..233facfc07 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3858,8 +3858,34 @@ initializing an OpenGL or Vulkan context.")
(native-inputs
(list pkg-config))))
+(define-public rust-wayland-protocols-0.31
+ (package
+ (name "rust-wayland-protocols")
+ (version "0.31.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-protocols" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "077257bxv21whi33wm0lz5jkq6jnx0spz5jkq8yr44x9gc8dflz2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+ ("rust-wayland-server" ,rust-wayland-server-0.31))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis "Generated API for the officials Wayland protocol extensions")
+ (description
+ "This package provides a generated API for the officials Wayland protocol
+extensions.")
+ (license license:expat)))
+
(define-public rust-wayland-protocols-0.30
(package
+ (inherit rust-wayland-protocols-0.31)
(name "rust-wayland-protocols")
(version "0.30.1")
(source
@@ -3870,20 +3896,13 @@ initializing an OpenGL or Vulkan context.")
(sha256
(base32
"0kcvvli38gdjb9c7dpa2s0ix4nnqfq7n2bbc39370kx9bhg10a1v"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-wayland-backend" ,rust-wayland-backend-0.1)
("rust-wayland-client" ,rust-wayland-client-0.30)
("rust-wayland-scanner" ,rust-wayland-scanner-0.30)
- ("rust-wayland-server" ,rust-wayland-server-0.30))))
- (home-page "https://github.com/smithay/wayland-rs")
- (synopsis "Generated API for the officials Wayland protocol extensions")
- (description
- "This package provides a generated API for the officials Wayland protocol
-extensions.")
- (license license:expat)))
+ ("rust-wayland-server" ,rust-wayland-server-0.30))))))
(define-public rust-wayland-protocols-0.29
(package