Subject: [PATCH v2 14/44] gnu: Add rust-dbusmenu-gtk3-0.1.

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

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

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

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