guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

426/471: gnu: Add rust-glutin-egl-sys-0.4.


From: guix-commits
Subject: 426/471: gnu: Add rust-glutin-egl-sys-0.4.
Date: Wed, 3 May 2023 09:29:13 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1f3297c5558d753f6e49c29f355e54385c19d623
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:10:43 2023 +0300

    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(-)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]