[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/54: gnu: Add rust-metal-0.18.
From: |
guix-commits |
Subject: |
05/54: gnu: Add rust-metal-0.18. |
Date: |
Sun, 31 Jan 2021 03:52:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit bd5f593edfa15ad2f9d6a10197faa82abba4ef93
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:10:52 2021 +0100
gnu: Add rust-metal-0.18.
* gnu/packages/crates-io.scm (rust-metal-0.18): New variable.
(rust-metal-0.14): Inherit from above.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaa77e2..ef05acb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19686,8 +19686,35 @@ based on Rustls and Ring.")
(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-metal-0.14
(package
+ (inherit rust-metal-0.18)
(name "rust-metal")
(version "0.14.0")
(source
@@ -19699,7 +19726,6 @@ based on Rustls and Ring.")
(sha256
(base32
"0my1xwlv562i80y3jbk0nygayi383j5skdwk48clb286b7922gyd"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -19715,11 +19741,7 @@ based on Rustls and Ring.")
("rust-objc-id" ,rust-objc-id-0.1))
#:cargo-development-inputs
(("rust-sema" ,rust-sema-0.1)
- ("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))))
+ ("rust-winit" ,rust-winit-0.19)))))) ; 0.17?
(define-public rust-mimalloc-0.1
(package
- branch master updated (edfbb1d -> 3e10f0e), guix-commits, 2021/01/31
- 01/54: gnu: rust-png-0.16: Update to 0.16.8., guix-commits, 2021/01/31
- 02/54: gnu: Add rust-dispatch-0.2., guix-commits, 2021/01/31
- 03/54: gnu: Add rust-core-graphics-0.21., guix-commits, 2021/01/31
- 04/54: gnu: Add rust-cocoa-0.22., guix-commits, 2021/01/31
- 05/54: gnu: Add rust-metal-0.18.,
guix-commits <=
- 12/54: gnu: rust-glutin-gles2-sys-0.1: Update to 0.1.5., guix-commits, 2021/01/31
- 13/54: gnu: rust-glutin-emscripten-sys-0.1: Update to 0.1.1., guix-commits, 2021/01/31
- 07/54: gnu: rust-core-video-sys-0.1: Update to 0.1.4., guix-commits, 2021/01/31
- 06/54: gnu: Add rust-core-graphics-0.19., guix-commits, 2021/01/31
- 16/54: gnu: Add rust-cocoa-0.23., guix-commits, 2021/01/31
- 08/54: gnu: Add rust-winit-0.24., guix-commits, 2021/01/31
- 11/54: gnu: rust-glutin-glx-sys-0.1: Update to 0.1.7., guix-commits, 2021/01/31
- 21/54: gnu: Add rust-freetype-rs-0.26., guix-commits, 2021/01/31
- 22/54: gnu: Add rust-wio-0.2., guix-commits, 2021/01/31
- 10/54: gnu: rust-glutin-wgl-sys-0.1: Update to 0.1.5., guix-commits, 2021/01/31