summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:06:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:12 +0200
commitf6978f7a150736903d80dcda5a6cdcd8ab991978 (patch)
treed76b90c6ea7dd44cb2d033d02cfc717dfa4256f7 /gnu/packages
parentcaff40ea340c93a961a90d66bfd41d17f4354453 (diff)
downloadguix-f6978f7a150736903d80dcda5a6cdcd8ab991978.tar.gz
gnu: Add rust-glutin-wgl-sys-0.5.
* gnu/packages/crates-graphics.scm (rust-glutin-wgl-sys-0.5): New
variable.
(rust-glutin-wgl-sys-0.4): Inherit from rust-glutin-wgl-sys-0.5.

Change-Id: I2115df64494c5eddbda2298b11a5fa50052ba8c0
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm27
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index dee52373c2..142c0e6e42 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1696,26 +1696,41 @@ EUI-64, also known as MAC-48 media access control addresses.")
        (("rust-gl-generator" ,rust-gl-generator-0.14)
         ("rust-x11-dl" ,rust-x11-dl-2))))))
 
-(define-public rust-glutin-wgl-sys-0.4
+(define-public rust-glutin-wgl-sys-0.5
   (package
     (name "rust-glutin-wgl-sys")
-    (version "0.4.0")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "glutin_wgl_sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg"))))
+        (base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-gl-generator" ,rust-gl-generator-0.14))))
-    (home-page "https://github.com/tomaka/glutin")
+     `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14))))
+    (home-page "https://github.com/rust-windowing/glutin")
     (synopsis "Wgl bindings for glutin")
     (description "This package provides wgl bindings for glutin.")
     (license license:asl2.0)))
 
+(define-public rust-glutin-wgl-sys-0.4
+  (package
+    (inherit rust-glutin-wgl-sys-0.5)
+    (name "rust-glutin-wgl-sys")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glutin_wgl_sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-gl-generator" ,rust-gl-generator-0.14))))))
+
 (define-public rust-glutin-wgl-sys-0.1
   (package
     (inherit rust-glutin-wgl-sys-0.4)