[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/54: gnu: Add rust-core-graphics-0.21.
From: |
guix-commits |
Subject: |
03/54: gnu: Add rust-core-graphics-0.21. |
Date: |
Sun, 31 Jan 2021 03:52:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 58b30a50a9029e297e19ccac072cc431ab21727f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:08:17 2021 +0100
gnu: Add rust-core-graphics-0.21.
* gnu/packages/crates-graphics.scm (rust-core-graphics-0.21): New variable.
(rust-core-graphics-0.17): Inherit from above.
---
gnu/packages/crates-graphics.scm | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 3140a72..5f1607a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -350,8 +350,35 @@ for computer graphics.")
(;("rust-glium" ,rust-glium-0.19)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-core-graphics-0.21
+ (package
+ (name "rust-core-graphics")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-graphics-rs")
+ (synopsis "Bindings to Core Graphics for macOS")
+ (description
+ "This package provides bindings to Core Graphics for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-core-graphics-0.17
(package
+ (inherit rust-core-graphics-0.21)
(name "rust-core-graphics")
(version "0.17.3")
(source
@@ -363,19 +390,13 @@ for computer graphics.")
(sha256
(base32
"1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only for macOS
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-core-foundation" ,rust-core-foundation-0.6)
("rust-foreign-types" ,rust-foreign-types-0.3)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/servo/core-graphics-rs")
- (synopsis "Bindings to Core Graphics for macOS")
- (description
- "Bindings to Core Graphics for macOS.")
- (license (list license:expat license:asl2.0))))
+ ("rust-libc" ,rust-libc-0.2))))))
(define-public rust-core-video-sys-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 <=
- 04/54: gnu: Add rust-cocoa-0.22., guix-commits, 2021/01/31
- 05/54: gnu: Add rust-metal-0.18., guix-commits, 2021/01/31
- 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