gnu: Add rust-raw-window-handle-0.6.

* gnu/packages/crates-graphics.scm (rust-raw-window-handle-0.6): New
variable.
(rust-raw-window-handle-0.5): Inherit from rust-raw-window-handle-0.6.

Change-Id: Ie8d1e6ee84025e2cfb90b37b8bfb7425d614314e
This commit is contained in:
Efraim Flashner 2024-01-04 11:11:49 +02:00
parent 4af7d7d28c
commit 23230638d9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2762,8 +2762,29 @@ (define-public rust-ravif-0.6
(list nasm)) ;for building rav1e
(inputs '())))
(define-public rust-raw-window-handle-0.6
(package
(name "rust-raw-window-handle")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "raw-window-handle" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0i5mxxfcgqmvmzg4f0lcz68g4xfd9jybhrdkxd2v37qv1q587aa2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
(home-page "https://github.com/rust-windowing/raw-window-handle")
(synopsis "Interoperability library for Rust Windowing applications")
(description
"Interoperability library for Rust Windowing applications.")
(license (list license:expat license:asl2.0 license:zlib))))
(define-public rust-raw-window-handle-0.5
(package
(inherit rust-raw-window-handle-0.6)
(name "rust-raw-window-handle")
(version "0.5.2")
(source
@ -2774,12 +2795,7 @@ (define-public rust-raw-window-handle-0.5
(sha256
(base32
"1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-windowing/raw-window-handle")
(synopsis "Interoperability library for Rust Windowing applications")
(description
"Interoperability library for Rust Windowing applications.")
(license license:expat)))
(arguments '())))
(define-public rust-raw-window-handle-0.4
(package