guix-commits
[Top][All Lists]
Advanced

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

427/470: gnu: Add rust-glutin-wgl-sys-0.4.


From: guix-commits
Subject: 427/470: gnu: Add rust-glutin-wgl-sys-0.4.
Date: Sun, 30 Apr 2023 14:05:18 -0400 (EDT)

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

commit 454c3f23c68c6f66026b4da9cdfb74c34b21915d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:11:51 2023 +0300

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



reply via email to

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