diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index d1a9c4dd6d..5d88cb0372 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2087,8 +2087,31 @@ interactive applications.") images in AVIF format.") (license license:bsd-3))) +(define-public rust-raw-window-handle-0.4 + (package + (name "rust-raw-window-handle") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "raw-window-handle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cty" ,rust-cty-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))) + (define-public rust-raw-window-handle-0.3 (package + (inherit rust-raw-window-handle-0.4) (name "rust-raw-window-handle") (version "0.3.3") (source @@ -2100,14 +2123,8 @@ images in AVIF format.") (sha256 (base32 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-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))) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) (define-public rust-resize-0.3 (package