[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
383/469: gnu: Add rust-glutin-0.30.
From: |
guix-commits |
Subject: |
383/469: gnu: Add rust-glutin-0.30. |
Date: |
Tue, 25 Apr 2023 15:04:24 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit cf166a4610fbaa156d1568a0fd00beb052d06203
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 23 16:08:33 2023 +0300
gnu: Add rust-glutin-0.30.
* gnu/packages/crates-graphics.scm (rust-glutin-0.30): New variable.
(rust-glutin-0.28): Inherit from rust-glutin-0.30.
---
gnu/packages/crates-graphics.scm | 42 ++++++++++++++++++++++++++++++++++------
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 1410a44e77..56c7780342 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1015,8 +1015,43 @@ EUI-64, also known as MAC-48 media access control
addresses.")
"Generated OpenGL bindings and wrapper for Servo.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-glutin-0.30
+ (package
+ (name "rust-glutin")
+ (version "0.30.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05gzw9icj4s0p9db9srnwrd3m3plcs7260jlblyy2pbiqygap6zq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
+ ("rust-cgl" ,rust-cgl-0.3)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-dispatch" ,rust-dispatch-0.2)
+ ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.4)
+ ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.4)
+ ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.4)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-objc2" ,rust-objc2-0.3)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.30)
+ ("rust-windows-sys" ,rust-windows-sys-0.45)
+ ("rust-x11-dl" ,rust-x11-dl-2))))
+ (home-page "https://github.com/tomaka/glutin")
+ (synopsis "Cross-platform OpenGL context provider")
+ (description "This package provides an OpenGL context provider.")
+ (license license:asl2.0)))
+
(define-public rust-glutin-0.28
(package
+ (inherit rust-glutin-0.30)
(name "rust-glutin")
(version "0.28.0")
(source
@@ -1026,7 +1061,6 @@ EUI-64, also known as MAC-48 media access control
addresses.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lpnf61x4jbm55bpdr10k1a1pl3cs719i9y4qibsdj2bajz9vsh0"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-android-glue" ,rust-android-glue-0.2)
@@ -1048,11 +1082,7 @@ EUI-64, also known as MAC-48 media access control
addresses.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.26))))
(inputs
- (list rust-wayland-client-0.29 rust-wayland-egl-0.29))
- (home-page "https://github.com/tomaka/glutin")
- (synopsis "Cross-platform OpenGL context provider")
- (description "This package provides an OpenGL context provider.")
- (license license:asl2.0)))
+ (list rust-wayland-client-0.29 rust-wayland-egl-0.29))))
(define-public rust-glutin-0.26
(package
- 439/469: gnu: rust-vcpkg-0.2: Update to 0.2.15., (continued)
- 439/469: gnu: rust-vcpkg-0.2: Update to 0.2.15., guix-commits, 2023/04/25
- 433/469: gnu: Add rust-slotmap-1., guix-commits, 2023/04/25
- 443/469: gnu: rust-ab-glyph-rasterizer-0.1: Update to 0.1.8., guix-commits, 2023/04/25
- 451/469: gnu: rust-rustls-0.20: Add missing input., guix-commits, 2023/04/25
- 454/469: gnu: rust-rustls-ffi-0.8: Add missing input., guix-commits, 2023/04/25
- 457/469: gnu: rust-webpki-roots-0.22: Add missing input., guix-commits, 2023/04/25
- 461/469: gnu: rust-trust-dns-rustls-0.19: Add missing input., guix-commits, 2023/04/25
- 177/469: gnu: Remove rust-fixed-hash-0.2., guix-commits, 2023/04/25
- 392/469: gnu: rust-wayland-sys-0.29: Update to 0.29.5., guix-commits, 2023/04/25
- 388/469: gnu: rust-wayland-protocols-0.29: Update to 0.29.5., guix-commits, 2023/04/25
- 383/469: gnu: Add rust-glutin-0.30.,
guix-commits <=