Subject: [PATCH rust-team 32/37] gnu: Add rust-glutin-winit-0.4.

From: Herman Rimm <[email-masked]>
Date: Thu, 14 Mar 2024 22:16:33 +0100

* gnu/packages/crates-graphics.scm (rust-glutin-winit-0.4): Add
variable.

Change-Id: I3bcf7b108ca852994830748cc3d4d137f1489a36
---
 gnu/packages/crates-graphics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ac1c74b516..a087945dea 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1931,6 +1931,30 @@ (define-public rust-glutin-wgl-sys-0.1
        #:cargo-inputs
        (("rust-gl-generator" ,rust-gl-generator-0.14))))))
 
+(define-public rust-glutin-winit-0.4
+  (package
+    (name "rust-glutin-winit")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glutin-winit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dbppmj0m2i5df4ww565f5kg3vxmjbq5c7hqql988fzp4jxdzg0y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
+        ("rust-glutin" ,rust-glutin-0.31)
+        ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+        ("rust-winit" ,rust-winit-0.29))))
+    (home-page "https://github.com/rust-windowing/glutin")
+    (synopsis "Glutin bootstrapping helpers with winit")
+    (description
+      "This package provides glutin bootstrapping helpers with winit.")
+    (license license:expat)))
+
 (define-public rust-gpu-alloc-0.6
   (package
     (name "rust-gpu-alloc")
-- 
2.41.0