guix-commits
[Top][All Lists]
Advanced

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

428/475: gnu: Add rust-glutin-glx-sys-0.4.


From: guix-commits
Subject: 428/475: gnu: Add rust-glutin-glx-sys-0.4.
Date: Sun, 7 May 2023 12:48:35 -0400 (EDT)

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

commit 96d6b17a3ef11c0718a7d861c4db241937ea6b12
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:12:26 2023 +0300

    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.
---
 gnu/packages/crates-graphics.scm | 27 ++++++++++++++++++++++-----
 1 file 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")



reply via email to

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