Subject: [PATCH rust-team v3 28/73] gnu: Add rust-mac-notification-sys-0.6.

From: Aaron Covrig <[email-masked]>
Date: Mon, 2 Dec 2024 22:00:08 -0500

From: Jordan Moore <[email-masked]>

* gnu/packages/crates-apple.scm (rust-mac-notification-sys-0.6): New variable.
---
 gnu/packages/crates-apple.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 6881ac2cf5..14275e3bdf 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2023 Steve George <[email-masked]>
 ;;; Copyright © 2023 Jaeme Sifat <[email-masked]>
 ;;; Copyright © 2024 Wilko Meyer <[email-masked]>
+;;; Copyright © 2024 Jordan Moore <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -884,6 +885,31 @@ (define-public rust-icrate-0.0.4
     (description "This package provides bindings to Apple's frameworks.")
     (license license:expat)))
 
+(define-public rust-mac-notification-sys-0.6
+  (package
+    (name "rust-mac-notification-sys")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mac-notification-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14cgvhb2790fzsilwdw720m2pc2zzk0zcgbjgqbkgahp6x7z7s6w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ;Requires OSX to build framework "Foundation"
+       #:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-dirs-next" ,rust-dirs-next-2)
+                       ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+                       ("rust-objc-id" ,rust-objc-id-0.1)
+                       ("rust-time" ,rust-time-0.3))))
+    (home-page "https://github.com/h4llow3En/mac-notification-sys")
+    (synopsis "Thin wrapper around macOS Notifications")
+    (description
+     "This package provides Thin wrapper around @code{macOS} Notifications.")
+    (license license:expat)))
+
 (define-public rust-mach-0.3
   (package
     (name "rust-mach")
-- 
2.47.0