efraim pushed a commit to branch rust-team
in repository guix.
commit 2dbad6e0059f25d3585938c0e5a2418ddd48d57e
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Nov 14 10:20:10 2024 +0200
gnu: Add rust-objc2-contacts-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-contacts-0.2): New variable.
Change-Id: I4a2fa3892516a6ad500cc74b82e5b328cfff48b0
---
gnu/packages/crates-apple.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
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")