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.
This commit is contained in:
Marius Bakke 2022-07-26 11:39:44 +02:00
parent 551e9e9587
commit 25d59733a5
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -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