diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-11-07 23:22:09 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:24 +0200 |
commit | aaa78ee3fbad11c08372cb6a7808d12e53f950c8 (patch) | |
tree | 338ace29ac0d76c3891158606fa3b0aff60d0cd7 /gnu/packages/crates-gtk.scm | |
parent | d49ceac5ba4b2d5867c4fb81f57d476433307fd9 (diff) | |
download | guix-aaa78ee3fbad11c08372cb6a7808d12e53f950c8.tar.gz guix-aaa78ee3fbad11c08372cb6a7808d12e53f950c8.zip |
gnu: Add rust-gdk4-x11-sys-0.7.
* gnu/packages/crates-gtk.scm (rust-gdk4-x11-sys-0.7): New variable.
Change-Id: Iadf7eaad3d6fe35a38f0e5957651f559509c3b4e
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 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9a706cbc93..87123459f2 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1281,6 +1281,34 @@ (description "This package provides FFI bindings of GDK4 Wayland.") (license license:expat))) +(define-public rust-gdk4-x11-sys-0.7 + (package + (name "rust-gdk4-x11-sys") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-x11-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09gill32x6qy4s55xjckqvqrfxw4jfjrlcpmd4iijn076w4igpm3")))) + (build-system cargo-build-system) + (arguments + ;; tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory + `(#:tests? #f + #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gtk)) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "FFI bindings of GDK4 X11") + (description "This package provides FFI bindings of GDK4 X11.") + (license license:expat))) + (define-public rust-gio-0.20 (package (name "rust-gio") |