guix-commits
[Top][All Lists]
Advanced

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

17/40: gnu: Add rust-wayland-backend-0.1.


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

efraim pushed a commit to branch master
in repository guix.

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

    gnu: Add rust-wayland-backend-0.1.
    
    * gnu/packages/crates-graphics.scm (rust-wayland-backend-0.1): New
    variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-graphics.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 87fb4bfe08..46f535c3ff 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2646,6 +2646,39 @@ applications.")
         ("rust-num-derive" ,rust-num-derive-0.2)
         ("rust-num-traits" ,rust-num-traits-0.2))))))
 
+(define-public rust-wayland-backend-0.1
+  (package
+    (name "rust-wayland-backend")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wayland-backend" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Use of undeclared dependencies
+       #:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-downcast-rs" ,rust-downcast-rs-1)
+        ("rust-io-lifetimes" ,rust-io-lifetimes-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-nix" ,rust-nix-0.26)
+        ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+        ("rust-scoped-tls" ,rust-scoped-tls-1)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-wayland-sys" ,rust-wayland-sys-0.30))
+       #:cargo-development-inputs
+       (("rust-concat-idents" ,rust-concat-idents-1)
+        ("rust-env-logger" ,rust-env-logger-0.10))))
+    (home-page "https://github.com/smithay/wayland-rs";)
+    (synopsis "Backend API for wayland crates")
+    (description "This package provides low-level bindings to the Wayland
+protocol.")
+    (license license:expat)))
+
 (define-public rust-wayland-client-0.29
   (package
     (name "rust-wayland-client")



reply via email to

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