aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:20:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:20 +0200
commite25730c73d492083b371bfd3ec04a356aa66ea41 (patch)
tree41a6226754a9c521c1e078554f09a3f9bfa53569 /gnu/packages/crates-apple.scm
parent9882239915b406635a25e092ab4ed4f0b6a3492f (diff)
downloadguix-e25730c73d492083b371bfd3ec04a356aa66ea41.tar.gz
guix-e25730c73d492083b371bfd3ec04a356aa66ea41.zip
gnu: Add rust-objc2-contacts-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-contacts-0.2): New variable. Change-Id: I4a2fa3892516a6ad500cc74b82e5b328cfff48b0
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 7ee9afc8a1..4975c827e7 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1279,6 +1279,29 @@ the Cocoa Foundation framework.")
"This package provides bindings to the @code{CloudKit} framework.")
(license license:expat)))
+(define-public rust-objc2-contacts-0.2
+ (package
+ (name "rust-objc2-contacts")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-contacts" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12a8m927xrrxa54xhqhqnkkl1a6l07pyrpnqfk9jz09kkh755zx5"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the Contacts framework")
+ (description "This package provides bindings to the Contacts framework.")
+ (license license:expat)))
+
(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")