diff options
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae733de1be..f25d3250f5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4249,19 +4249,17 @@ harness.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-console-0.11 +(define-public rust-console-0.13 (package (name "rust-console") - (version "0.11.3") + (version "0.13.0") (source - (origin - (method url-fetch) - (uri (crate-uri "console" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nmwkbb1j1zjb2z4akk83rqgnbv7j3dla4nxv0ibk9xvavk982cc")))) + (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 @@ -4270,16 +4268,39 @@ harness.") ("rust-libc" ,rust-libc-0.2) ("rust-regex" ,rust-regex-1) ("rust-terminal-size" ,rust-terminal-size-0.1) - ("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") + "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")))) + (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-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)))))) + (define-public rust-console-0.9 (package (inherit rust-console-0.11) |