summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 10:29:08 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:53 +0200
commit5a9e88c7d174e5936914ab2969fdf061bc977a00 (patch)
tree075f5d870f80b520658c347ed6ba7e5aa2e7849a
parentb43885e9e25493fd66b90769e99bc6e215ee7ecf (diff)
gnu: Add rust-term-size-1.0.
* gnu/packages/crates-io.scm (rust-term-size-1.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4728ecde60..167630e6af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10828,6 +10828,33 @@ directories.")
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-term-size-1.0
+ (package
+ (name "rust-term-size")
+ (version "1.0.0-beta1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/clap-rs/term_size-rs")
+ (synopsis "Determine terminal sizes and dimensions")
+ (description
+ "Functions for determining terminal sizes and dimensions")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")