aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 10:29:33 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:54 +0200
commit7a7ff5d36ca523b3b3f69cbd95a72e84d92733d5 (patch)
treecb92d1aa23e09cc7f9d3a099398567eb1dc074ad
parent5a9e88c7d174e5936914ab2969fdf061bc977a00 (diff)
downloadguix-7a7ff5d36ca523b3b3f69cbd95a72e84d92733d5.tar.gz
guix-7a7ff5d36ca523b3b3f69cbd95a72e84d92733d5.zip
gnu: Add rust-term-size-0.3.
* gnu/packages/crates-io.scm (rust-term-size-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 167630e6af..823b54f879 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10855,6 +10855,28 @@ directories.")
"Functions for determining terminal sizes and dimensions")
(license (list license:asl2.0 license:expat))))
+(define-public rust-term-size-0.3
+ (package
+ (inherit rust-term-size-1.0)
+ (name "rust-term-size")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09wk3173ngmb710qs9rwgibq4w250q8lgnwjvb9cypc1vdk9lnwy"))))
+ (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.2))))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")