summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 21:52:54 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:26 +0200
commitf900f84f802addb35a062f62afb6421c319157d6 (patch)
treeeb44ab01f7e13a43c179065a4e72c77e85578c04 /gnu
parentf39373c4550f888ae536e46716080067b8f314fd (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')
-rw-r--r--gnu/packages/crates-apple.scm26
-rw-r--r--gnu/packages/crates-io.scm26
2 files changed, 26 insertions, 26 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")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9add906ff..1f9caebc10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39629,32 +39629,6 @@ non-interactive protocols can be implemented as if they were interactive.")
(description "Run pkg-config from declarative dependencies in Cargo.toml.")
(license (list license:expat license:asl2.0))))
-(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-thousands-0.2
(package
(name "rust-thousands")