mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 17:01:51 -05:00
gnu: Add rust-crossterm-0.27.
* gnu/packages/crates-io.scm (rust-crossterm-0.27): New variable. (rust-crossterm-0.25): Inherit from rust-crossterm-0.27. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I3c0ae996bed6806b5f7f8bd58870b6e0616ff61b
This commit is contained in:
parent
219d0a4373
commit
370a1bcaf3
1 changed files with 41 additions and 8 deletions
|
@ -17841,8 +17841,48 @@ (define-public rust-crossfont-0.3
|
|||
("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-crossterm-0.27
|
||||
(package
|
||||
(name "rust-crossterm")
|
||||
(version "0.27.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "crossterm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1pr413ki440xgddlmkrc4j1bfx1h8rpmll87zn8ykja1bm2gwxpl"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9)
|
||||
("rust-filedescriptor" ,rust-filedescriptor-0.8)
|
||||
("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-serial-test" ,rust-serial-test-2)
|
||||
("rust-tokio" ,rust-tokio-1))))
|
||||
(home-page "https://github.com/crossterm-rs/crossterm")
|
||||
(synopsis "Crossplatform terminal library for manipulating terminals")
|
||||
(description
|
||||
"This package provides a crossplatform terminal library for manipulating
|
||||
terminals.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-crossterm-0.26
|
||||
(package
|
||||
(inherit rust-crossterm-0.27)
|
||||
(name "rust-crossterm")
|
||||
(version "0.26.1")
|
||||
(source
|
||||
|
@ -17852,7 +17892,6 @@ (define-public rust-crossterm-0.26
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "04rxvmbf3scywy0m7rhg586lf833vpb33czijxi80fakadkxlk58"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
|
@ -17871,13 +17910,7 @@ (define-public rust-crossterm-0.26
|
|||
("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))))
|
||||
(home-page "https://github.com/crossterm-rs/crossterm")
|
||||
(synopsis "Crossplatform terminal library for manipulating terminals")
|
||||
(description
|
||||
"This package provides a crossplatform terminal library for manipulating
|
||||
terminals.")
|
||||
(license license:expat)))
|
||||
("rust-tokio" ,rust-tokio-1))))))
|
||||
|
||||
(define-public rust-crossterm-0.25
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue