guix-commits
[Top][All Lists]
Advanced

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

89/350: gnu: Add rust-mac-notification-sys-0.6.


From: guix-commits
Subject: 89/350: gnu: Add rust-mac-notification-sys-0.6.
Date: Sun, 15 Dec 2024 02:14:01 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3df639bed3bdd320ced199024244725875bb8fa6
Author: Jordan Moore <lockbox@struct.foo>
AuthorDate: Mon Dec 2 22:00:08 2024 -0500

    gnu: Add rust-mac-notification-sys-0.6.
    
    * gnu/packages/crates-apple.scm (rust-mac-notification-sys-0.6): New 
variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 1180b9b875..2534ea122f 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,31 @@ macOS API for file changes notifications")
     (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")



reply via email to

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