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

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

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

View file

@ -1696,8 +1696,28 @@ (define-public rust-glutin-glx-sys-0.1
(("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2))))))
(define-public rust-glutin-wgl-sys-0.5
(package
(name "rust-glutin-wgl-sys")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_wgl_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14))))
(home-page "https://github.com/rust-windowing/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.4
(package
(inherit rust-glutin-wgl-sys-0.5)
(name "rust-glutin-wgl-sys")
(version "0.4.0")
(source
@ -1707,14 +1727,9 @@ (define-public rust-glutin-wgl-sys-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg"))))
(build-system cargo-build-system)
(arguments
`(#: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)))
(("rust-gl-generator" ,rust-gl-generator-0.14))))))
(define-public rust-glutin-wgl-sys-0.1
(package