From b203f47639f46e9a90567f062d1e42f9cc01f9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Pastor=20P=C3=A9rez?= Date: Tue, 28 Nov 2023 22:13:08 +0100 Subject: [PATCH] gnu: Add rust-libadwaita-0.5. * gnu/packages/crates-gtk.scm (rust-libadwaita-0.5): New variable. Change-Id: I48533d87282268a46e66b9235c6a86b52b5d82ec Signed-off-by: Efraim Flashner --- gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 807a1a5cb4..f21ff8a2ea 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2702,6 +2702,34 @@ (define-public rust-gtk4-sys-0.7 (description "This package provides FFI bindings of GTK 4.") (license license:expat))) +(define-public rust-libadwaita-0.5 + (package + (name "rust-libadwaita") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "libadwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list libadwaita)) + (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs") + (synopsis "Rust bindings for libadwaita") + (description "Rust bindings for libadwaita.") + (license license:expat))) + (define-public rust-libadwaita-sys-0.5 (package (name "rust-libadwaita-sys")