Subject: [PATCH v2 12/44] gnu: Add rust-dbusmenu-glib-0.1.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59963a9325..47718d245e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19788,6 +19788,28 @@ (define-public rust-dbus-tree-0.9
      "This crate is a framework for writing D-Bus method handlers (legacy).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-dbusmenu-glib-0.1
+  (package
+    (name "rust-dbusmenu-glib")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dbusmenu-glib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "155q311s8zn830x06d7w7sk950xqs5w7xw5rirkf0xaprkf2j5px"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-glib" ,rust-glib-0.17)
+                       ("rust-dbusmenu-glib-sys" ,rust-dbusmenu-glib-sys-0.1))))
+    (home-page "https://github.com/ralismark/dbusmenu-rs")
+    (synopsis "Rust bindings to dbusmenu-glib")
+    (description "Rust bindings to dbusmenu-glib")
+    (license license:lgpl3)))
+
 (define-public rust-deadpool-0.9
   (package
     (name "rust-deadpool")
-- 
2.41.0