aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-17 15:54:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-17 19:40:07 +0300
commit56b695196feb17407b48dcb2562f89484ff69793 (patch)
tree7f2c930d589dbbb55e3cb61fcd6c9541876f1d09 /gnu/packages/crates-io.scm
parentc800a30744bee99086fc98d94be572818f2869f2 (diff)
downloadpatches-56b695196feb17407b48dcb2562f89484ff69793.tar
patches-56b695196feb17407b48dcb2562f89484ff69793.tar.gz
gnu: Add rust-term.
* gnu/packages/crates-io.scm (rust-term): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9acda91f1..79eee6ed32 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3164,6 +3164,30 @@ directories.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-term
+ (package
+ (name "rust-term")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys)
+ ("rust-winapi" ,rust-winapi))))
+ (home-page "https://github.com/Stebalien/term")
+ (synopsis "Terminal formatting library")
+ (description
+ "This package provides a terminal formatting library in rust.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-termcolor
(package
(name "rust-termcolor")