summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastorperez@outlook.es>2023-11-28 22:13:07 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:42 +0200
commit7d12520cd6d9e5e9a1b80ff16d4778968b6ea4e6 (patch)
tree6c10017f579b7cc69589a2a3b724a557cc4ace36
parent4ccf22925dd7d1cc97e184159fd63a509d0865f2 (diff)
gnu: Add rust-libadwaita-sys-0.5.
* gnu/packages/crates-gtk.scm (rust-libadwaita-sys-0.5): New variable. Change-Id: I375605dd05d38b15f2a6a00ed782b9eafc856694 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-gtk.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 62569d818a..807a1a5cb4 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2702,6 +2702,37 @@ library.")
(description "This package provides FFI bindings of GTK 4.")
(license license:expat)))
+(define-public rust-libadwaita-sys-0.5
+ (package
+ (name "rust-libadwaita-sys")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; ‘AdwBannerClass’ undeclared
+ #:cargo-inputs (("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-gtk4-sys" ,rust-gtk4-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 gtk libadwaita))
+ (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/")
+ (synopsis "FFI bindings for libadwaita")
+ (description "FFI bindings for libadwaita.")
+ (license license:expat)))
+
(define-public rust-pango-0.18
(package
(name "rust-pango")