Subject: [PATCH rust-team v2 112/117] WIP: gnu: Add rust-libshumate-0.4.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:58:56 +0200

* gnu/packages/crates-gtk.scm (rust-libshumate-0.4): Add variable.

Change-Id: Idb32367f007fc4d008d6192471d4903020998126
---
 gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b7f311bc53..5c06922856 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2824,6 +2824,31 @@ (define-public rust-libadwaita-sys-0.5
     (description "FFI bindings for libadwaita.")
     (license license:expat)))
 
+(define-public rust-libshumate-0.4
+  (package
+    (name "rust-libshumate")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libshumate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0b8vxpbanfdxgry772rza202w3kgf3x73rr9fzli1gavyxzx4hxp"))))
+    (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-libc" ,rust-libc-0.2)
+                       ("rust-libshumate-sys" ,rust-libshumate-sys-0.4))))
+    (home-page "https://world.pages.gitlab.gnome.org/Rust/libshumate-rs/")
+    (synopsis "Rust bindings for libshumate")
+    (description "This package provides Rust bindings for libshumate.")
+    (license license:expat)))
+
 (define-public rust-pango-0.18
   (package
     (name "rust-pango")
-- 
2.41.0