aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:21:12 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:20 +0200
commitdf0fcf99183c8fd243c302330d052b98468504a1 (patch)
treea1d1de3f8bbf923035d9e2d5c903ef36bc1932fa /gnu/packages/crates-apple.scm
parent5524612f8d4e6794483497b5c9c1dedf7f0db86b (diff)
downloadguix-df0fcf99183c8fd243c302330d052b98468504a1.tar.gz
guix-df0fcf99183c8fd243c302330d052b98468504a1.zip
gnu: Add rust-objc2-core-location-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-core-location-0.2): New variable. Change-Id: I36103292af7dd803923d90bdd82ad81ae55e6072
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 c25d4283fc..fb41c955e7 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1352,6 +1352,31 @@ the Cocoa Foundation framework.")
"This package provides bindings to the @code{CoreImage} framework.")
(license license:expat)))
+(define-public rust-objc2-core-location-0.2
+ (package
+ (name "rust-objc2-core-location")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-core-location" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10apgsrigqryvi4rcc0f6yfjflvrl83f4bi5hkr48ck89vizw300"))))
+ (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-contacts" ,rust-objc2-contacts-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the CoreLocation framework")
+ (description
+ "This package provides bindings to the @code{CoreLocation} framework.")
+ (license license:expat)))
+
(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")