gnu: Add rust-objc2-core-data-0.2.

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

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

View file

@ -1302,6 +1302,31 @@ (define-public rust-objc2-contacts-0.2
(description "This package provides bindings to the Contacts framework.")
(license license:expat)))
(define-public rust-objc2-core-data-0.2
(package
(name "rust-objc2-core-data")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-core-data" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vvk8zjylfjjj04dzawydmqqz5ajvdkhf22cnb07ihbiw14vyzv1"))))
(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-foundation" ,rust-objc2-foundation-0.2))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Bindings to the CoreData framework")
(description
"This package provides bindings to the @code{CoreData} framework.")
(license license:expat)))
(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")