diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 11:39:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 15:15:12 +0300 |
commit | b625a6c696f4e5fc9ef01539375742c0ca2c99a6 (patch) | |
tree | d7fce70ed545e3c137f62d3d1ffb6f550f6e79f0 | |
parent | d695ebb6609fb62827d4ece0f8765977f7c76656 (diff) | |
download | guix-b625a6c696f4e5fc9ef01539375742c0ca2c99a6.tar guix-b625a6c696f4e5fc9ef01539375742c0ca2c99a6.tar.gz |
gnu: Add rust-console-0.11.
* gnu/packages/crates-io.scm (rust-console-0.11): New variable.
(rust-console-0.9): Inherit from rust-console-0.11.
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6bfc5b1ec7..2f10af7afc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3711,8 +3711,40 @@ harness.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-console-0.11 + (package + (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) + (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)))) + (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.9 (package + (inherit rust-console-0.11) (name "rust-console") (version "0.9.2") (source @@ -3724,7 +3756,6 @@ harness.") (sha256 (base32 "1h765951c9mywff534f0191slazykmif4290g2yarcwhd2cg7q25")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1) @@ -3734,12 +3765,7 @@ harness.") ("rust-winapi" ,rust-winapi-0.3) ("rust-clicolors-control" ,rust-clicolors-control-1.0) ("rust-regex" ,rust-regex-1) - ("rust-lazy-static" ,rust-lazy-static-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-lazy-static" ,rust-lazy-static-1)))))) (define-public rust-console-0.7 (package |