mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
gnu: Add rust-console-0.13.
* gnu/packages/crates-io.scm (rust-console-0.13): New variable. (rust-console-0.11): Inherit from above.
This commit is contained in:
parent
8faddefa03
commit
210406cb4f
1 changed files with 36 additions and 15 deletions
|
@ -4249,20 +4249,46 @@ (define-public rust-compiletest-rs-0.2
|
|||
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||
("rust-tempdir" ,rust-tempdir-0.3))))))
|
||||
|
||||
(define-public rust-console-0.13
|
||||
(package
|
||||
(name "rust-console")
|
||||
(version "0.13.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "console" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "022ai0jbbawngrx396qppwgzk4pk3v2fdwckzamvz6h154jsn2m5"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-encode-unicode" ,rust-encode-unicode-0.3)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-terminal-size" ,rust-terminal-size-0.1)
|
||||
("rust-unicode-width" ,rust-unicode-width-0.1)
|
||||
("rust-winapi" ,rust-winapi-0.3)
|
||||
("rust-winapi-util" ,rust-winapi-util-0.1))))
|
||||
(home-page "https://github.com/mitsuhiko/console")
|
||||
(synopsis "Terminal and console abstraction for Rust")
|
||||
(description
|
||||
"This package provides a terminal and console abstraction for Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-console-0.11
|
||||
(package
|
||||
(inherit rust-console-0.13)
|
||||
(name "rust-console")
|
||||
(version "0.11.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "console" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0nmwkbb1j1zjb2z4akk83rqgnbv7j3dla4nxv0ibk9xvavk982cc"))))
|
||||
(build-system cargo-build-system)
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "console" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0nmwkbb1j1zjb2z4akk83rqgnbv7j3dla4nxv0ibk9xvavk982cc"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-encode-unicode" ,rust-encode-unicode-0.3)
|
||||
|
@ -4273,12 +4299,7 @@ (define-public rust-console-0.11
|
|||
("rust-termios" ,rust-termios-0.3)
|
||||
("rust-unicode-width" ,rust-unicode-width-0.1)
|
||||
("rust-winapi" ,rust-winapi-0.3)
|
||||
("rust-winapi-util" ,rust-winapi-util-0.1))))
|
||||
(home-page "https://github.com/mitsuhiko/console")
|
||||
(synopsis "Terminal and console abstraction for Rust")
|
||||
(description
|
||||
"This package provides a terminal and console abstraction for Rust")
|
||||
(license license:expat)))
|
||||
("rust-winapi-util" ,rust-winapi-util-0.1))))))
|
||||
|
||||
(define-public rust-console-0.9
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue