me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-crossterm-0.20.

* gnu/packages/crates-io.scm (rust-crossterm-0.20): New variable.
(rust-crossterm-0.19): Inherit from above.
master
Nicolas Goaziou 2021-10-06 17:45:21 +02:00
parent 5daad8fae6
commit 7e12354cd1
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 34 additions and 8 deletions

View File

@ -11421,8 +11421,41 @@ rasterizing glyphs, using native font engines whenever possible.")
("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 @@ rasterizing glyphs, using native font engines whenever possible.")
(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 @@ rasterizing glyphs, using native font engines whenever possible.")
("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