From 25d59733a52075fe802b7928fdaa2f236814cd15 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 26 Jul 2022 11:39:44 +0200 Subject: gnu: rust-raw-window-handle: Add 0.4.3. * gnu/packages/crates-graphics.scm (rust-raw-window-handle-0.4): New variable. (rust-raw-window-handle-0.3): Inherit from it. --- gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) 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,28 +2087,45 @@ interactive applications.") images in AVIF format.") (license license:bsd-3))) -(define-public rust-raw-window-handle-0.3 +(define-public rust-raw-window-handle-0.4 (package (name "rust-raw-window-handle") - (version "0.3.3") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "raw-window-handle" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a")))) + "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + `(#: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 + (origin + (method url-fetch) + (uri (crate-uri "raw-window-handle" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-resize-0.3 (package (name "rust-resize") -- cgit v1.2.3