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

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

Change-Id: I9b9d4acaf2888eb5f4571f2bf7fc7fcf2932e189
This commit is contained in:
Efraim Flashner 2024-01-04 11:06:16 +02:00
parent 9b3e53c0c4
commit caff40ea34
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1641,8 +1641,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.5
(package
(name "rust-glutin-glx-sys")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_glx_sys" version))
(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)))
(define-public rust-glutin-glx-sys-0.4
(package
(inherit rust-glutin-glx-sys-0.5)
(name "rust-glutin-glx-sys")
(version "0.4.0")
(source
@ -1652,15 +1673,10 @@ (define-public rust-glutin-glx-sys-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "150l397l64p4r46wshh8zdlwifpcqpm93fm3csh4m5k8wmgwnlqv"))))
(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/tomaka/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.1
(package