diff mbox series

[bug#69257,rust-team,v3,07/75] gnu: Add rust-gdk4-wayland-sys-0.7.

Message ID ecb095c095931cc4f2bc84c9041b50dfcbc3b0cd.1714820129.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:34 a.m. UTC
* gnu/packages/crates-gtk.scm (rust-gdk4-wayland-sys-0.7): Add variable.

Change-Id: I913b1617b2c8596a2fed95c2d05c6e2cdeb37f92
---
 gnu/packages/crates-gtk.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 94f6b3b913..fb26e00da9 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1008,6 +1008,32 @@  (define-public rust-gdk4-sys-0.7
     (description "This package provides FFI bindings of GDK 4.")
     (license license:expat)))
 
+(define-public rust-gdk4-wayland-sys-0.7
+  (package
+    (name "rust-gdk4-wayland-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gdk4-wayland-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "092nbn4gk82kbdvji2qnqy181l4pf5i8961bb8nj3q3a4nz5k0fl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-1)
+        ("rust-tempfile" ,rust-tempfile-3))
+       #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gtk))
+    (home-page "https://gtk-rs.org/gtk4-rs")
+    (synopsis "FFI bindings of GDK4 Wayland")
+    (description "This package provides FFI bindings of GDK4 Wayland.")
+    (license license:expat)))
+
 (define-public rust-gio-0.18
   (package
     (name "rust-gio")