1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 02:50:45 +02:00

gnu: Add rust-gdk4-x11-0.7.

* gnu/packages/crates-gtk.scm (rust-gdk4-x11-0.7): New variable.

Change-Id: I4a3cf17d78eac19ac4bdc908accffb4328e6cea8
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Giacomo Leidi 2024-11-17 12:00:42 +02:00 committed by Efraim Flashner
parent aaa78ee3fb
commit 56a71b87f5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1281,6 +1281,36 @@
(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")