Subject: [PATCH v2 20/49] gnu: Add rust-notify-rust-4.

From: Jordan Moore <[email-masked]>
Date: Sat, 30 Nov 2024 11:54:55 -0500

* gnu/packages/crates-io.scm (rust-notify-rust-4): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6b340a4e1..473e6b99e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49911,6 +49911,40 @@ (define-public rust-notify-debouncer-full-0.3
      "This package provides a notify event debouncer optimized for ease of use.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-notify-rust-4
+  (package
+    (name "rust-notify-rust")
+    (version "4.11.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "notify-rust" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18ykiijr0c452hxlpvciac0wqvsan4dfh08vz2zpicbhqlnsfd2i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-dbus" ,rust-dbus-0.9)
+                       ("rust-env-logger" ,rust-env-logger-0.11)
+                       ("rust-image" ,rust-image-0.25)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-mac-notification-sys" ,rust-mac-notification-sys-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-tauri-winrt-notification" ,rust-tauri-winrt-notification-0.2)
+                       ("rust-zbus" ,rust-zbus-4))
+       #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+                                   ("rust-color-backtrace" ,rust-color-backtrace-0.5)
+                                   ("rust-ctor" ,rust-ctor-0.2)
+                                   ("rust-maplit" ,rust-maplit-1))))
+    (home-page "https://github.com/hoodie/notify-rust")
+    (synopsis
+     "Show desktop notifications (linux, bsd, mac). Pure Rust dbus client and server")
+    (description
+     "This package provides Show desktop notifications (linux, bsd, mac).  Pure Rust dbus client and server.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-notmuch-0.8
   (package
     (name "rust-notmuch")
-- 
2.46.0