mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: Add rust-crossterm-0.20.
* gnu/packages/crates-io.scm (rust-crossterm-0.20): New variable. (rust-crossterm-0.19): Inherit from above.
This commit is contained in:
parent
5daad8fae6
commit
7e12354cd1
1 changed files with 34 additions and 8 deletions
|
@ -11421,8 +11421,41 @@ (define-public rust-crossfont-0.2
|
|||
("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5)
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-crossterm-0.20
|
||||
(package
|
||||
(name "rust-crossterm")
|
||||
(version "0.20.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "crossterm" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0z8zkk2mfiirbr3slfv564n685yiahr2aj3gdk6k3qymkmmdxsy0"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-crossterm-winapi" ,rust-crossterm-winapi-0.8)
|
||||
("rust-futures-core" ,rust-futures-core-0.3)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-mio" ,rust-mio-0.7)
|
||||
("rust-parking-lot" ,rust-parking-lot-0.11)
|
||||
("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))))
|
||||
(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.19
|
||||
(package
|
||||
(inherit rust-crossterm-0.20)
|
||||
(name "rust-crossterm")
|
||||
(version "0.19.0")
|
||||
(source
|
||||
|
@ -11432,7 +11465,6 @@ (define-public rust-crossterm-0.19
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1348lqf8vy3lb2s5icsl3rxs4a4vrpfw5z2j6lplnhnz600w2dkw"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
|
@ -11445,13 +11477,7 @@ (define-public rust-crossterm-0.19
|
|||
("rust-parking-lot" ,rust-parking-lot-0.11)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-signal-hook" ,rust-signal-hook-0.1)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(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-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-crossterm-0.18
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue