gnu: Add rust-crossterm-0.23.

* gnu/packages/crates-io.scm (rust-crossterm-0.23): New variable.
This commit is contained in:
Efraim Flashner 2023-05-11 17:30:30 +03:00
parent 092d9897f5
commit 4887865b94
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15381,6 +15381,37 @@ (define-public rust-crossterm-0.25
terminals.")
(license license:expat)))
(define-public rust-crossterm-0.23
(package
(inherit rust-crossterm-0.25)
(name "rust-crossterm")
(version "0.23.2")
(source (origin
(method url-fetch)
(uri (crate-uri "crossterm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"05ygjddfp70961ij7cbvrrwz88r09hghdpcqbf50z4c1yyj2w452"))))
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-mio" ,rust-mio-0.8)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-serde" ,rust-serde-1)
("rust-signal-hook" ,rust-signal-hook-0.3)
("rust-signal-hook-mio" ,rust-signal-hook-mio-0.2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-async-std" ,rust-async-std-1)
("rust-futures" ,rust-futures-0.3)
("rust-futures-timer" ,rust-futures-timer-3)
("rust-serde-json" ,rust-serde-json-1)
("rust-tokio" ,rust-tokio-1))))))
(define-public rust-crossterm-0.20
(package
(inherit rust-crossterm-0.25)