efraim pushed a commit to branch rust-team
in repository guix.

commit f38592a0afde7cf06b0ff3c14d51203bb65219b8
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Nov 14 10:29:58 2024 +0200

    gnu: Add rust-wayland-protocols-wlr-0.3.
    
    * gnu/packages/crates-graphics.scm (rust-wayland-protocols-wlr-0.3): New
    variable.
    (rust-wayland-protocols-wlr-0.2): Inherit from
    rust-wayland-protocols-wlr-0.3.
    
    Change-Id: I825cd9dd869fef7d56d4a61d3dc7aa194ab5c889
---
 gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4bacb12939..1e0a5d614a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5081,23 +5081,23 @@ protocol extensions.")
                        ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
                        ("rust-wayland-server" ,rust-wayland-server-0.31))))))
 
-(define-public rust-wayland-protocols-wlr-0.2
+(define-public rust-wayland-protocols-wlr-0.3
   (package
     (name "rust-wayland-protocols-wlr")
-    (version "0.2.0")
+    (version "0.3.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "wayland-protocols-wlr" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd"))))
+        (base32 "08j0xfpfqv6kzbfzmdv6crfzalxbxc2n5m9hc4qkqg4jrpv14bkq"))))
     (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-protocols" ,rust-wayland-protocols-0.31)
+                       ("rust-wayland-protocols" ,rust-wayland-protocols-0.32)
                        ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
                        ("rust-wayland-server" ,rust-wayland-server-0.31))))
     (home-page "https://github.com/smithay/wayland-rs";)
@@ -5106,6 +5106,26 @@ protocol extensions.")
 protocol extensions.")
     (license license:expat)))
 
+(define-public rust-wayland-protocols-wlr-0.2
+  (package
+    (inherit rust-wayland-protocols-wlr-0.3)
+    (name "rust-wayland-protocols-wlr")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wayland-protocols-wlr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd"))))
+    (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-protocols" ,rust-wayland-protocols-0.31)
+                       ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+                       ("rust-wayland-server" ,rust-wayland-server-0.31))))))
+
 (define-public rust-wayland-protocols-wlr-0.1
   (package
     (inherit rust-wayland-protocols-wlr-0.2)

Reply via email to