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

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

View file

@ -1294,8 +1294,29 @@ (define-public rust-glutin-glx-sys-0.1
(description "This package provides glx bindings for glutin.")
(license license:asl2.0)))
(define-public rust-glutin-wgl-sys-0.4
(package
(name "rust-glutin-wgl-sys")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_wgl_sys" version))
(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)))
(define-public rust-glutin-wgl-sys-0.1
(package
(inherit rust-glutin-wgl-sys-0.4)
(name "rust-glutin-wgl-sys")
(version "0.1.5")
(source
@ -1305,15 +1326,10 @@ (define-public rust-glutin-wgl-sys-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#: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-ical-0.7
(package