diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 21:52:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:26 +0200 |
commit | f900f84f802addb35a062f62afb6421c319157d6 (patch) | |
tree | eb44ab01f7e13a43c179065a4e72c77e85578c04 /gnu/packages/crates-apple.scm | |
parent | f39373c4550f888ae536e46716080067b8f314fd (diff) |
gnu: rust-metal-0.18: Move to (gnu packages crates-apple).
* gnu/packages/crates-io.scm (rust-metal-0.18): Move from here ...
* gnu/packages/crates-apple.scm: ... to here.
Change-Id: Ica5be709b1a1136cdca0f8b7febf6cf0c68187a4
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r-- | gnu/packages/crates-apple.scm | 26 |
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") |