1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 04:20:44 +02:00

gnu: Add rust-objc2-contacts-0.2.

* gnu/packages/crates-apple.scm (rust-objc2-contacts-0.2): New variable.

Change-Id: I4a2fa3892516a6ad500cc74b82e5b328cfff48b0
This commit is contained in:
Efraim Flashner 2024-11-14 10:20:10 +02:00
parent 9882239915
commit e25730c73d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")