diff options
author | Jordan Moore <[email protected]> | 2024-12-02 22:00:08 -0500 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-01-06 12:14:19 +0200 |
commit | 3a21e8a1f7fe42d01bee45a249d2a63865fb45ad (patch) | |
tree | 20fabb79edca41ef46908995b71e4594219d9b7e /gnu/packages/crates-apple.scm | |
parent | cd72413aa9891463eb08215e8334d24b7bea1ed2 (diff) |
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 <[email protected]>
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r-- | gnu/packages/crates-apple.scm | 26 |
1 files changed, 26 insertions, 0 deletions
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 <[email protected]> ;;; Copyright © 2023 Jaeme Sifat <[email protected]> ;;; Copyright © 2024 Wilko Meyer <[email protected]> +;;; Copyright © 2024 Jordan Moore <[email protected]> ;;; ;;; 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") |