@@ -1280,6 +1280,35 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-x11-0.7
+ (package
+ (name "rust-gdk4-x11")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-x11-sys" ,rust-gdk4-x11-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 X11 library")
+ (description
+ "This package provides Rust bindings of the GDK4 X11 library.")
+ (license license:expat)))
+
(define-public rust-gdk4-x11-sys-0.7
(package
(name "rust-gdk4-x11-sys")