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

* gnu/packages/crates-graphics.scm (rust-glutin-egl-sys-0.4): New
variable.
(rust-glutin-egl-sys-0.1): Inherit from rust-glutin-egl-sys-0.4.
This commit is contained in:
Efraim Flashner 2023-04-24 16:10:43 +03:00
parent 0ef2ea6269
commit acd26696fe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1190,8 +1190,32 @@ (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.4
(package
(name "rust-glutin-egl-sys")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin-egl-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0z9nm3d6qcgqg7f6qkbnsfs4cy90d8raw09inf2qc564nnmz1ap5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-windows-sys" ,rust-windows-sys-0.45))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Egl bindings for glutin")
(description "The egl bindings for glutin.")
(license license:asl2.0)))
(define-public rust-glutin-egl-sys-0.1
(package
(inherit rust-glutin-egl-sys-0.4)
(name "rust-glutin-egl-sys")
(version "0.1.5")
(source
@ -1203,15 +1227,10 @@ (define-public rust-glutin-egl-sys-0.1
(sha256
(base32
"04f2ci9kb8q4dv4kviigvgfy54lr4jmbnmjsvi50qj13anjnmfra"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3)
("rust-gl-generator" ,rust-gl-generator-0.13))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Egl bindings for glutin")
(description "The egl bindings for glutin.")
(license license:asl2.0)))
("rust-gl-generator" ,rust-gl-generator-0.13))))))
(define-public rust-glutin-emscripten-sys-0.1
(package