diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:11:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:12 +0200 |
commit | 23230638d9fef2b233996af462487321118f90e3 (patch) | |
tree | 775d14b99d210a818a20f71b2dbfa9cbc13e23c8 /gnu | |
parent | 4af7d7d28c45a333a25a371eb8faf4fc189d0b64 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 989bff7b6b..0ad61a1ad6 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2762,24 +2762,40 @@ in AVIF format (powers the @code{cavif} tool).") (list nasm)) ;for building rav1e (inputs '()))) -(define-public rust-raw-window-handle-0.5 +(define-public rust-raw-window-handle-0.6 (package (name "rust-raw-window-handle") - (version "0.5.2") + (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 - "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj")))) + (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 license:expat))) + (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 + (origin + (method url-fetch) + (uri (crate-uri "raw-window-handle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj")))) + (arguments '()))) (define-public rust-raw-window-handle-0.4 (package |