Subject: [bug#71278] [PATCH v2 15/44] gnu: Add rust-dbusmenu-gtk3-sys-0.1.

From: Murilo <[email-masked]>
Date: Fri, 31 May 2024 09:38:05 -0300

* gnu/packages/crates-io.scm (rust-dbusmenu-gtk3-sys-0.1): New variable.

Change-Id: Ia2c03b30a1b1097d2c1b279933b08423c03b6d81
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6aa63e5ee..6e99369d5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19858,6 +19858,33 @@ (define-public rust-dbusmenu-gtk3-0.1
     (description "Rust bindings to dbusmenu-gtk3")
     (license license:lgpl3)))
 
+(define-public rust-dbusmenu-gtk3-sys-0.1
+  (package
+    (name "rust-dbusmenu-gtk3-sys")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dbusmenu-gtk3-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jkfrdhiygd2jvfrywhy41xl3xmn7ppci6sp9jl3h3pci9gvlc3g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-system-deps" ,rust-system-deps-6)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-gtk-sys" ,rust-gtk-sys-0.17)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.17)
+                       ("rust-glib-sys" ,rust-glib-sys-0.17)
+                       ("rust-gdk-sys" ,rust-gdk-sys-0.17)
+                       ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.17)
+                       ("rust-dbusmenu-glib-sys" ,rust-dbusmenu-glib-sys-0.1))))
+    (home-page "https://github.com/ralismark/dbusmenu-rs")
+    (synopsis "FFI bindings to dbusmenu-gtk3")
+    (description "FFI bindings to dbusmenu-gtk3")
+    (license license:lgpl3)))
+
 (define-public rust-deadpool-0.9
   (package
     (name "rust-deadpool")
-- 
2.41.0