From 23230638d9fef2b233996af462487321118f90e3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:11:49 +0200 Subject: 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 --- gnu/packages/crates-graphics.scm | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3