aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-apple.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r--gnu/packages/crates-apple.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 7d3785000e..6b324fdd14 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -746,6 +746,32 @@ macOS API for file changes notifications")
(description "This package provides bindings to Apple's frameworks.")
(license license:expat)))
+(define-public rust-metal-0.18
+ (package
+ (name "rust-metal")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "metal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08n3kfv78jm3pf7fafwfv67n40lgcdg7w9lqn9g4sdvfwdk90vrf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-block" ,rust-block-0.1)
+ ("rust-cocoa" ,rust-cocoa-0.22)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2))))
+ (home-page "https://github.com/gfx-rs/metal-rs")
+ (synopsis "Rust bindings for Metal")
+ (description "This package provides Rust bindings for Metal.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-objc-0.2
(package
(name "rust-objc")