summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-21 00:19:25 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:15 +0200
commit7bfde108d4fa84c3d1ec1e613acc62fc39a1a803 (patch)
treeec2c8de2ad45ebbcee0fe175f8cc569dd7cd31e3
parent708742109c925dbd41823639f7e589812794b9e9 (diff)
gnu: Add rust-crossterm-0.13.
* gnu/packages/crates-io.scm (rust-crossterm-0.13): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c781d8c397..4d609120ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4318,6 +4318,32 @@ intrinsics.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))))
+(define-public rust-crossterm-0.13
+ (package
+ (name "rust-crossterm")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossterm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jw9s85mnhpkk38lihr4ildip4jhfhc3h86npncd92i4mdb257vm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crossterm-winapi" ,rust-crossterm-winapi-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/crossterm-rs/crossterm")
+ (synopsis "Crossplatform terminal library for manipulating terminals")
+ (description "This package provides a crossplatform terminal library for
+manipulating terminals.")
+ (license license:expat)))
+
(define-public rust-crossterm-winapi-0.4
(package
(name "rust-crossterm-winapi")