mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
gnu: Add rust-metal-0.18.
* gnu/packages/crates-io.scm (rust-metal-0.18): New variable. (rust-metal-0.14): Inherit from above.
This commit is contained in:
parent
feea5f4e61
commit
bd5f593edf
1 changed files with 28 additions and 6 deletions
|
@ -19686,8 +19686,35 @@ (define-public rust-metadeps-1.1
|
||||||
(description "Run pkg-config from declarative dependencies in Cargo.toml.")
|
(description "Run pkg-config from declarative dependencies in Cargo.toml.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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-metal-0.14
|
(define-public rust-metal-0.14
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-metal-0.18)
|
||||||
(name "rust-metal")
|
(name "rust-metal")
|
||||||
(version "0.14.0")
|
(version "0.14.0")
|
||||||
(source
|
(source
|
||||||
|
@ -19699,7 +19726,6 @@ (define-public rust-metal-0.14
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0my1xwlv562i80y3jbk0nygayi383j5skdwk48clb286b7922gyd"))))
|
"0my1xwlv562i80y3jbk0nygayi383j5skdwk48clb286b7922gyd"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -19715,11 +19741,7 @@ (define-public rust-metal-0.14
|
||||||
("rust-objc-id" ,rust-objc-id-0.1))
|
("rust-objc-id" ,rust-objc-id-0.1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-sema" ,rust-sema-0.1)
|
(("rust-sema" ,rust-sema-0.1)
|
||||||
("rust-winit" ,rust-winit-0.19)))) ; 0.17?
|
("rust-winit" ,rust-winit-0.19)))))) ; 0.17?
|
||||||
(home-page "https://github.com/gfx-rs/metal-rs")
|
|
||||||
(synopsis "Rust bindings for Metal")
|
|
||||||
(description "Rust bindings for Metal.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-mimalloc-0.1
|
(define-public rust-mimalloc-0.1
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue