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:11:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:38 +0300
commit7aa4846546af98dd5c19ec1e90d5816a604a9c24 (patch)
tree2a702c8876671d7689baf814eeaa89f750cdc521 /gnu/packages
parentacd26696fe90ed0de8fc84bd6b23cf953aabef33 (diff)
downloadguix-7aa4846546af98dd5c19ec1e90d5816a604a9c24.tar.gz
gnu: Add rust-glutin-wgl-sys-0.4.
* gnu/packages/crates-graphics.scm (rust-glutin-wgl-sys-0.4): New
variable.
(rust-glutin-wgl-sys-0.1): Inherit from rust-glutin-wgl-sys-0.4.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm26
1 files changed, 21 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 02a6c4e4bc..11eee4d95b 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1294,27 +1294,43 @@ EUI-64, also known as MAC-48 media access control addresses.")
     (description "This package provides glx bindings for glutin.")
     (license license:asl2.0)))
 
-(define-public rust-glutin-wgl-sys-0.1
+(define-public rust-glutin-wgl-sys-0.4
   (package
     (name "rust-glutin-wgl-sys")
-    (version "0.1.5")
+    (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 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
+        (base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-gl-generator" ,rust-gl-generator-0.14))))
     (home-page "https://github.com/tomaka/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.1
+  (package
+    (inherit rust-glutin-wgl-sys-0.4)
+    (name "rust-glutin-wgl-sys")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glutin_wgl_sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-gl-generator" ,rust-gl-generator-0.14))))))
+
 (define-public rust-ical-0.7
   (package
     (name "rust-ical")