diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-17 12:00:42 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:24 +0200 |
commit | 56a71b87f5a1b50ced70bd3a70ca20bb9258ed0e (patch) | |
tree | b0aca26bac0d803a04ee83e9fdecd79f9dd82a0b /gnu/packages/crates-gtk.scm | |
parent | aaa78ee3fbad11c08372cb6a7808d12e53f950c8 (diff) | |
download | guix-56a71b87f5a1b50ced70bd3a70ca20bb9258ed0e.tar.gz guix-56a71b87f5a1b50ced70bd3a70ca20bb9258ed0e.zip |
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>
Diffstat (limited to 'gnu/packages/crates-gtk.scm')
-rw-r--r-- | gnu/packages/crates-gtk.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 87123459f2..35b213159e 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -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") |