diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-14 10:20:51 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:20 +0200 |
commit | 5524612f8d4e6794483497b5c9c1dedf7f0db86b (patch) | |
tree | 2bdccd0a06cc53ad423a2bc7b2cef0a0e788d8c4 /gnu/packages/crates-apple.scm | |
parent | ed3fafba213982e4762aff525afafe38de7c3f52 (diff) | |
download | guix-5524612f8d4e6794483497b5c9c1dedf7f0db86b.tar.gz guix-5524612f8d4e6794483497b5c9c1dedf7f0db86b.zip |
gnu: Add rust-objc2-core-image-0.2.
* gnu/packages/crates-apple.scm (rust-objc2-core-image-0.2): New
variable.
Change-Id: I13ff2b0dee1a85b1d3562ec9c1cd694ac8c2151b
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r-- | gnu/packages/crates-apple.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index fe6c89869d..c25d4283fc 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -1327,6 +1327,31 @@ the Cocoa Foundation framework.") "This package provides bindings to the @code{CoreData} framework.") (license license:expat))) +(define-public rust-objc2-core-image-0.2 + (package + (name "rust-objc2-core-image") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc2-core-image" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "102csfb82zi2sbzliwsfd589ckz0gysf7y6434c9zj97lmihj9jm")))) + (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-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 CoreImage framework") + (description + "This package provides bindings to the @code{CoreImage} framework.") + (license license:expat))) + (define-public rust-objc2-encode-4 (package (name "rust-objc2-encode") |