gnu: rust-metal-0.18: Downgrade to 0.18.0.

Later versions of this crate were yanked by upstream.

* gnu/packages/crates-apple.scm (rust-metal-0.18): Downgrade to 0.18.0.
[cargo-inputs]: Add rust-core-graphics-0.19.  Replace rust-cocoa-0.22
with 0.20.

Change-Id: I6d75e6bf94ebccd829c356cfe0bf1944ed1f3a0b
This commit is contained in:
Efraim Flashner 2024-01-04 22:23:12 +02:00
parent 2c0995169b
commit 3a1e307b3a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -885,21 +885,22 @@ (define-public rust-mach-o-sys-0.1
(define-public rust-metal-0.18
(package
(name "rust-metal")
(version "0.18.1")
(version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "metal" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08n3kfv78jm3pf7fafwfv67n40lgcdg7w9lqn9g4sdvfwdk90vrf"))))
(base32 "1h1dx42sdkn4jl1rnjisv687vd5jyck982wxq3r9xgmx8bpa1671"))))
(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-cocoa" ,rust-cocoa-0.20)
("rust-core-graphics" ,rust-core-graphics-0.19)
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-log" ,rust-log-0.4)
("rust-objc" ,rust-objc-0.2))))