guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/40: gnu: Add rust-wayland-client-0.30.


From: guix-commits
Subject: 20/40: gnu: Add rust-wayland-client-0.30.
Date: Sun, 22 Oct 2023 09:40:33 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c6f6f339a51dfa72c47a1df80eedd38985bbb683
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:28 2023 +0300

    gnu: Add rust-wayland-client-0.30.
    
    * gnu/packages/crates-graphics.scm (rust-wayland-client-0.30): New
    variable.
    (rust-wayland-client-0.29): Inherit from rust-wayland-client-0.30.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-graphics.scm | 45 ++++++++++++++++++++++++++++++++--------
 1 file changed, 36 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 0935b5c2d3..17fd7f67c7 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2679,8 +2679,43 @@ applications.")
 protocol.")
     (license license:expat)))
 
+(define-public rust-wayland-client-0.30
+  (package
+    (name "rust-wayland-client")
+    (version "0.30.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wayland-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1j3as2g1znrs2lpkksqcvx8pag85yiwwbcv6wb3lyrqgfxa9d728"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `wayland_protocols`
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-calloop" ,rust-calloop-0.10)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nix" ,rust-nix-0.26)
+        ("rust-wayland-backend" ,rust-wayland-backend-0.1)
+        ("rust-wayland-scanner" ,rust-wayland-scanner-0.30))
+       #:cargo-development-inputs
+       (("rust-futures-channel" ,rust-futures-channel-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (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.29
   (package
+    (inherit rust-wayland-client-0.30)
     (name "rust-wayland-client")
     (version "0.29.5")
     (source
@@ -2690,7 +2725,6 @@ protocol.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "05b7qikqj22rjy17kqw5ar7j2chpy18dr0gqapvwjfd00n60cfrz"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #false               ;circular dependency on wayland-protocols
        #:cargo-inputs
@@ -2712,14 +2746,7 @@ protocol.")
            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)))
+           rust-wayland-sys-0.29))))
 
 (define-public rust-wayland-client-0.28
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]