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:12:26 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:38 +0300
commit96d6b17a3ef11c0718a7d861c4db241937ea6b12 (patch)
tree48163482435170b418149f530f1b100d734ed2c2 /gnu/packages
parent7aa4846546af98dd5c19ec1e90d5816a604a9c24 (diff)
downloadguix-96d6b17a3ef11c0718a7d861c4db241937ea6b12.tar.gz
gnu: Add rust-glutin-glx-sys-0.4.
* gnu/packages/crates-graphics.scm (rust-glutin-glx-sys-0.4): New
variable.
(rust-glutin-glx-sys-0.1): Inherit from rust-glutin-glx-sys-0.4.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm27
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 11eee4d95b..ba502982ad 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1272,21 +1272,20 @@ EUI-64, also known as MAC-48 media access control addresses.")
     (description "This package provides gles2 bindings for glutin.")
     (license license:asl2.0)))
 
-(define-public rust-glutin-glx-sys-0.1
+(define-public rust-glutin-glx-sys-0.4
   (package
     (name "rust-glutin-glx-sys")
-    (version "0.1.7")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "glutin_glx_sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
+        (base32 "150l397l64p4r46wshh8zdlwifpcqpm93fm3csh4m5k8wmgwnlqv"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-gl-generator" ,rust-gl-generator-0.14)
         ("rust-x11-dl" ,rust-x11-dl-2))))
     (home-page "https://github.com/tomaka/glutin")
@@ -1294,6 +1293,24 @@ 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-glx-sys-0.1
+  (package
+    (inherit rust-glutin-glx-sys-0.4)
+    (name "rust-glutin-glx-sys")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glutin_glx_sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-gl-generator" ,rust-gl-generator-0.14)
+        ("rust-x11-dl" ,rust-x11-dl-2))))))
+
 (define-public rust-glutin-wgl-sys-0.4
   (package
     (name "rust-glutin-wgl-sys")