diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 15:40:29 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-05 17:39:26 +0100 |
commit | 210406cb4f99248ee1c02ada74c144e288b999b8 (patch) | |
tree | 2fc9fc2a7a15d1fa3bd3f6cfd07425c1c5313143 /gnu | |
parent | 8faddefa03a1b21381f206e248021a4248d7334c (diff) | |
download | guix-210406cb4f99248ee1c02ada74c144e288b999b8.tar.gz |
gnu: Add rust-console-0.13.
* gnu/packages/crates-io.scm (rust-console-0.13): New variable. (rust-console-0.11): Inherit from above.
Diffstat (limited to 'gnu')
-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) |