gnu: Add rust-objc2-metal-0.2.

* gnu/packages/crates-apple.scm (rust-objc2-metal-0.2): New variable.

Change-Id: I32b8d1f2b68c77dd11d0896d98f7c7e28c5b0ef4
This commit is contained in:
Efraim Flashner 2024-11-14 10:23:17 +02:00
parent b15eee1bfa
commit b87fc11627
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1476,6 +1476,30 @@ the Cocoa Foundation framework.")
"This package provides bindings to the @code{LinkPresentation} framework.")
(license license:expat)))
(define-public rust-objc2-metal-0.2
(package
(name "rust-objc2-metal")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-metal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mmdga66qpxrcfq3gxxhysfx3zg1hpx4z886liv3j0pnfq9bl36x"))))
(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 Metal framework")
(description "This package provides bindings to the Metal framework.")
(license license:expat)))
(define-public rust-objc2-proc-macros-0.1
(package
(name "rust-objc2-proc-macros")