aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:19:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:20 +0200
commit41ff532796c091a6d54746129435943b7adbe1ef (patch)
treea589fdd539935ac58839fb4f7e494e4ed9e63c48 /gnu/packages/crates-apple.scm
parent08d8e448b6ba37a9b9b12ce01672868c36426914 (diff)
downloadguix-41ff532796c091a6d54746129435943b7adbe1ef.tar.gz
guix-41ff532796c091a6d54746129435943b7adbe1ef.zip
gnu: Add rust-objc2-app-kit-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-app-kit-0.2): New variable. Change-Id: I0195704da4d2543cc63c490178b4600e94c85644
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 7af20a02e4..101a33915f 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1224,6 +1224,35 @@ the Cocoa Foundation framework.")
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1)
("rust-uuid" ,rust-uuid-1))))))
+(define-public rust-objc2-app-kit-0.2
+ (package
+ (name "rust-objc2-app-kit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-app-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zqyi5l1bm26j1bgmac9783ah36m5kcrxlqp5carglnpwgcrms74"))))
+ (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-libc" ,rust-libc-0.2)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-core-data" ,rust-objc2-core-data-0.2)
+ ("rust-objc2-core-image" ,rust-objc2-core-image-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the AppKit framework")
+ (description
+ "This package provides bindings to the @code{AppKit} framework.")
+ (license license:expat)))
+
(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")