From 65c8da7fe10bd777eafcf511cb957585c55de44e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:18:57 +0200 Subject: [PATCH] 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 --- gnu/packages/crates-graphics.scm | 35 ++++++++++++++++++++++++-------- 1 file 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 @@ (define-public rust-wayland-egl-0.28 (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 @@ (define-public rust-wayland-protocols-0.30 (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