aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:25:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:21 +0200
commit843753a2ddf0c2141acd803952f83af6ba554527 (patch)
treeeaa6eacdc183ad33c4e45b56c588e026649d31d4 /gnu/packages/crates-apple.scm
parentbf0c4f456d749c3caa08d67838e301ce2f6240b4 (diff)
downloadguix-843753a2ddf0c2141acd803952f83af6ba554527.tar.gz
guix-843753a2ddf0c2141acd803952f83af6ba554527.zip
gnu: Add rust-objc2-quartz-core-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-quartz-core-0.2): New variable. Change-Id: I2ef5dfdd894ad3843dfa25f3d03ecdbb69ddcb7c
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 23a84732c1..3a6fef5fc4 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -1517,6 +1517,33 @@ the Cocoa Foundation framework.")
(description "This package provides procedural macros for the objc2 project.")
(license license:expat)))
+(define-public rust-objc2-quartz-core-0.2
+ (package
+ (name "rust-objc2-quartz-core")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-quartz-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ynw8819c36l11rim8n0yzk0fskbzrgaqayscyqi8swhzxxywaz4"))))
+ (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)
+ ("rust-objc2-metal" ,rust-objc2-metal-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the QuartzCore/CoreAnimation framework")
+ (description
+ "This package provides bindings to the @code{QuartzCore/CoreAnimation}
+framework.")
+ (license license:expat)))
+
(define-public rust-objc2-ui-kit-0.2
(package
(name "rust-objc2-ui-kit")