diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 21:39:22 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:45 +0100 |
commit | 2066647845a3a6f13b408b006d3441a45af3d827 (patch) | |
tree | 1fda4d984fa5dd7c9b4d3cce715a1f5d5a10286e /gnu/packages/crates-io.scm | |
parent | ad18d437db7317341fe1c7c33ae803bd4fe475d6 (diff) | |
download | guix-2066647845a3a6f13b408b006d3441a45af3d827.tar.gz |
gnu: Add rust-console-0.14.
* gnu/packages/crates-io.scm (rust-console-0.14): New variable. (rust-console-0.13): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7c2b5a95cc..4b90556490 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7512,20 +7512,21 @@ queue.") applications.") (license (list license:expat license:asl2.0)))) -(define-public rust-console-0.13 +(define-public rust-console-0.14 (package (name "rust-console") - (version "0.13.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "console" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "022ai0jbbawngrx396qppwgzk4pk3v2fdwckzamvz6h154jsn2m5")))) + (base32 "1ajnr0rga4vya0fza12ighf3ffkm86w1rv8p5wf443s8nd30kj3w")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-encode-unicode" ,rust-encode-unicode-0.3) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) @@ -7540,6 +7541,29 @@ applications.") "This package provides a terminal and console abstraction for Rust.") (license license:expat))) +(define-public rust-console-0.13 + (package + (inherit rust-console-0.14) + (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")))) + (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)))))) + (define-public rust-console-0.11 (package (inherit rust-console-0.13) |