diff options
author | Sergio Pastor PĂ©rez <sergio.pastorperez@outlook.es> | 2023-11-28 22:13:04 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:42 +0200 |
commit | 2618c2f7d48bf613b24ecab08813e5fa75636f91 (patch) | |
tree | 211b8da81899e576e944f91497aa2d589a958cb1 /gnu/packages/crates-gtk.scm | |
parent | ad91d62536807b72a0dabf137cc33c49d3d5da5c (diff) |
gnu: Add rust-gtk4-sys-0.7.
* gnu/packages/crates-gtk.scm (rust-gtk4-sys-0.7): New variable.
Change-Id: I762f413ea0942a4ec2d0d06d0d49395101c09b3a
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 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 2898434929..74bad58580 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2599,6 +2599,40 @@ library.") (license license:expat))) +(define-public rust-gtk4-sys-0.7 + (package + (name "rust-gtk4-sys") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f2ylskyqkjdik9fij2m46pra4jagnif5xyalbxfk3334fmc9n2l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Can't find gtk/gtk-a11y.h from gtk+ + #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-graphene-sys" ,rust-graphene-sys-0.18) + ("rust-gsk4-sys" ,rust-gsk4-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("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 cairo gdk-pixbuf graphene gtk pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings of GTK 4") + (description "This package provides FFI bindings of GTK 4.") + (license license:expat))) + (define-public rust-pango-0.18 (package (name "rust-pango") |