diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 11:36:39 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 15:15:12 +0300 |
commit | d695ebb6609fb62827d4ece0f8765977f7c76656 (patch) | |
tree | f29d8fd38153e2d58b216f85401f94340b3b5db4 /gnu/packages/crates-io.scm | |
parent | f485daf3cbca8fdace4ff3ef42712c244822a753 (diff) | |
download | guix-d695ebb6609fb62827d4ece0f8765977f7c76656.tar guix-d695ebb6609fb62827d4ece0f8765977f7c76656.tar.gz |
gnu: Add rust-terminal-size-0.1.
* gnu/packages/crates-io.scm (rust-terminal-size-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2d493c0c24..6bfc5b1ec7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25115,6 +25115,31 @@ writing colored text to a terminal.") (license (list license:unlicense license:expat)))) +(define-public rust-terminal-size-0.1 + (package + (name "rust-terminal-size") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "terminal-size" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04qy9i0k3qkhl749xk30xga0l7w61rf4bj5zy0r44w3jijgws54s")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect access to /dev/stderr + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/eminence/terminal-size") + (synopsis "Gets the size of your Linux or Windows terminal") + (description + "This package gets the size of your Linux or Windows terminal.") + (license (list license:expat license:asl2.0)))) + (define-public rust-terminfo-0.6 (package (name "rust-terminfo") |