aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:20:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:20 +0200
commited3fafba213982e4762aff525afafe38de7c3f52 (patch)
treec29fb89714e19486ccad9491c836121b96ba012c /gnu/packages/crates-apple.scm
parente25730c73d492083b371bfd3ec04a356aa66ea41 (diff)
downloadguix-ed3fafba213982e4762aff525afafe38de7c3f52.tar.gz
guix-ed3fafba213982e4762aff525afafe38de7c3f52.zip
gnu: Add rust-objc2-core-data-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-core-data-0.2): New variable. Change-Id: I1c41f0e89cc558e6778f068957462773c23863d3
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 4975c827e7..fe6c89869d 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1302,6 +1302,31 @@ the Cocoa Foundation framework.")
(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")