summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:10:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:38 +0300
commitacd26696fe90ed0de8fc84bd6b23cf953aabef33 (patch)
treec45db7223c1fd37adc251caada1bc505afca4da6 /gnu/packages
parent0ef2ea6269b7c66f2c7628619df57f48180eff50 (diff)
downloadguix-acd26696fe90ed0de8fc84bd6b23cf953aabef33.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm29
1 files 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")