From acd26696fe90ed0de8fc84bd6b23cf953aabef33 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 16:10:43 +0300 Subject: gnu: Add rust-glutin-egl-sys-0.4. * gnu/packages/crates-graphics.scm (rust-glutin-egl-sys-0.4): New variable. (rust-glutin-egl-sys-0.1): Inherit from rust-glutin-egl-sys-0.4. --- gnu/packages/crates-graphics.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 2a9eecc586..02a6c4e4bc 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1190,10 +1190,10 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winit" ,rust-winit-0.19)))))) -(define-public rust-glutin-egl-sys-0.1 +(define-public rust-glutin-egl-sys-0.4 (package (name "rust-glutin-egl-sys") - (version "0.1.5") + (version "0.4.0") (source (origin (method url-fetch) @@ -1202,17 +1202,36 @@ EUI-64, also known as MAC-48 media access control addresses.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04f2ci9kb8q4dv4kviigvgfy54lr4jmbnmjsvi50qj13anjnmfra")))) + "0z9nm3d6qcgqg7f6qkbnsfs4cy90d8raw09inf2qc564nnmz1ap5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3) - ("rust-gl-generator" ,rust-gl-generator-0.13)))) + (("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-windows-sys" ,rust-windows-sys-0.45)))) (home-page "https://github.com/rust-windowing/glutin") (synopsis "Egl bindings for glutin") (description "The egl bindings for glutin.") (license license:asl2.0))) +(define-public rust-glutin-egl-sys-0.1 + (package + (inherit rust-glutin-egl-sys-0.4) + (name "rust-glutin-egl-sys") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin-egl-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04f2ci9kb8q4dv4kviigvgfy54lr4jmbnmjsvi50qj13anjnmfra")))) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3) + ("rust-gl-generator" ,rust-gl-generator-0.13)))))) + (define-public rust-glutin-emscripten-sys-0.1 (package (name "rust-glutin-emscripten-sys") -- cgit 1.4.1