guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74551] [PATCH v2 09/49] gnu: Add rust-mac-notification-sys-0.6.


From: Jordan Moore
Subject: [bug#74551] [PATCH v2 09/49] gnu: Add rust-mac-notification-sys-0.6.
Date: Sat, 30 Nov 2024 11:54:44 -0500

* gnu/packages/crates-apple.scm (rust-mac-notification-sys-0.6): New variable.

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

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 6881ac2cf5..b173f3e90d 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2023 Steve George <steve@futurile.net>
 ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -884,6 +885,30 @@ (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
+     `(#: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.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]