Subject: [PATCH rust-team v3 33/75] gnu: Add rust-libshumate-sys-0.4.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:35:05 +0200

* gnu/packages/crates-io.scm (rust-libshumate-sys-0.4): Add variable.
---
 gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 223805273b..94fbe4fb2c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2882,6 +2882,38 @@ (define-public rust-libadwaita-sys-0.5
     (description "FFI bindings for libadwaita.")
     (license license:expat)))
 
+(define-public rust-libshumate-sys-0.4
+  (package
+    (name "rust-libshumate-sys")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libshumate-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00six90yvni8233kzcr7j8qqrvyndssy7gc677akm0i5snl6gln2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-1)
+        ("rust-tempfile" ,rust-tempfile-3))
+       #:cargo-inputs (("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-gtk4-sys" ,rust-gtk4-sys-0.7)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs (list pkg-config))
+    (inputs (list gdk-pixbuf glib gtk libshumate))
+    (home-page "https://world.pages.gitlab.gnome.org/Rust/libshumate-rs/")
+    (synopsis "FFI bindings for libshumate")
+    (description "This package provides FFI bindings for libshumate.")
+    (license license:expat)))
+
 (define-public rust-pango-0.18
   (package
     (name "rust-pango")
-- 
2.41.0