From 979c625a82a97eaefdc505ebbcc1fb47fe33067c Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:29:08 -0800 Subject: [PATCH 45/69] gnu: Add rust-term-size-1.0. * gnu/packages/crates-io.scm (rust-term-size-1.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3d1f842544..377f07056f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10827,6 +10827,35 @@ 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 `(,license:asl2.0 ,license:expat)))) + (define-public rust-termcolor-1.0 (package (name "rust-termcolor") -- 2.25.0