diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-14 10:23:52 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:21 +0200 |
commit | 3eadf0b8737506dd90038f2cf4aac8ed4f6784b7 (patch) | |
tree | 073487a0460c6427a6d2b9a8b10de87fe966c3e2 /gnu/packages/crates-apple.scm | |
parent | b87fc11627a8da47a0309647ad78a94bf4a87ba8 (diff) | |
download | guix-3eadf0b8737506dd90038f2cf4aac8ed4f6784b7.tar.gz guix-3eadf0b8737506dd90038f2cf4aac8ed4f6784b7.zip |
gnu: Add rust-objc2-user-notifications-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-user-notifications-0.2): New
variable.
Change-Id: Iae7430119b85058795cd2a2de6358c89bbbd3596
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 fea08bfc87..13db9cca7c 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -1517,6 +1517,32 @@ the Cocoa Foundation framework.") (description "This package provides procedural macros for the objc2 project.") (license license:expat))) +(define-public rust-objc2-user-notifications-0.2 + (package + (name "rust-objc2-user-notifications") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc2-user-notifications" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cscv2w3vxzaslz101ddv0z9ycrrs4ayikk4my4qd3im8bvcpkvn")))) + (build-system cargo-build-system) + (arguments + ;; Must specify the desired runtime using Cargo features on non-Apple platforms + `(#:skip-build? #t + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-block2" ,rust-block2-0.5) + ("rust-objc2" ,rust-objc2-0.5) + ("rust-objc2-core-location" ,rust-objc2-core-location-0.2) + ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Bindings to the UserNotifications framework") + (description + "This package provides bindings to the @code{UserNotifications} framework.") + (license license:expat))) + (define-public rust-readkey-0.1 (package (name "rust-readkey") |