gnu: Add rust-glutin-glx-sys-0.6.

* gnu/packages/crates-graphics.scm (rust-glutin-glx-sys-0.6): New
variable.
(rust-glutin-glx-sys-0.5): Inherit from rust-glutin-glx-sys-0.6.

Change-Id: I1942c1bab73f98c8e25dd89eadcefac19a767cca
This commit is contained in:
Efraim Flashner 2024-11-14 09:49:19 +02:00
parent ef4a797d42
commit 175b6e2e0f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2046,8 +2046,29 @@ (define-public rust-glutin-gles2-sys-0.1
(description "This package provides gles2 bindings for glutin.")
(license license:asl2.0)))
(define-public rust-glutin-glx-sys-0.6
(package
(name "rust-glutin-glx-sys")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_glx_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qscs9525kpdwaky5cm6smkyrrlg9sv5xdcnhzh1hvp730wjsaww"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Glx bindings for glutin")
(description "This package provides the glx bindings for glutin.")
(license license:asl2.0)))
(define-public rust-glutin-glx-sys-0.5
(package
(inherit rust-glutin-glx-sys-0.6)
(name "rust-glutin-glx-sys")
(version "0.5.0")
(source
@ -2057,14 +2078,9 @@ (define-public rust-glutin-glx-sys-0.5
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0krv3chf5sy83rsfwq267paczskpwnb5gcw0agac5p0hdilgsrd1"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Glx bindings for glutin")
(description "This package provides glx bindings for glutin.")
(license license:asl2.0)))
("rust-x11-dl" ,rust-x11-dl-2))))))
(define-public rust-glutin-glx-sys-0.4
(package