gnu: Add rust-glutin-egl-sys-0.7.

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

Change-Id: I889a13e2baa9e09032b562cad47467fbcddbaa84
This commit is contained in:
Efraim Flashner 2024-11-14 09:48:52 +02:00
parent a044ffa024
commit ef4a797d42
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1918,8 +1918,29 @@ (define-public rust-glutin-0.21
("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.19))))))
(define-public rust-glutin-egl-sys-0.7
(package
(name "rust-glutin-egl-sys")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_egl_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "09y80579kyzkrk7smghmnyx2amddzvjah7wczgkdnl189pzrzsfa"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Egl bindings for glutin")
(description "This package provides the egl bindings for glutin.")
(license license:asl2.0)))
(define-public rust-glutin-egl-sys-0.6
(package
(inherit rust-glutin-egl-sys-0.7)
(name "rust-glutin-egl-sys")
(version "0.6.0")
(source
@ -1929,14 +1950,9 @@ (define-public rust-glutin-egl-sys-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-windows-sys" ,rust-windows-sys-0.48))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Egl bindings for glutin")
(description "The egl bindings for glutin.")
(license license:asl2.0)))
("rust-windows-sys" ,rust-windows-sys-0.48))))))
(define-public rust-glutin-egl-sys-0.5
(package