aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-07 23:44:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-08 11:04:40 +0200
commit54b1c4488f052dc9bcd9094e83935d7cf50e5122 (patch)
tree075f684d49ed73abb72d21ac00386dfc0eb6e01e /gnu
parent950e59bafba7e8009ca482c411bfb776b908eff8 (diff)
downloadguix-54b1c4488f052dc9bcd9094e83935d7cf50e5122.tar
guix-54b1c4488f052dc9bcd9094e83935d7cf50e5122.tar.gz
gnu: Add rust-clearscreen-1.
* gnu/packages/crates-io.scm (rust-clearscreen-1): New variable.
Diffstat (limited to 'gnu')
-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 d19610c66d..c7ddc18f4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7555,6 +7555,32 @@ Command Line Argument Parser.")
("rust-version-sync" ,rust-version-sync-0.8))))
(license license:expat)))
+(define-public rust-clearscreen-1
+ (package
+ (name "rust-clearscreen")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clearscreen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "083ycj7qhwlq8azy0rl9lpbr69k87hn622wc8mi96w293rsq1zwy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-nix" ,rust-nix-0.20)
+ ("rust-terminfo" ,rust-terminfo-0.7)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-which" ,rust-which-4)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/watchexec/clearscreen")
+ (synopsis "Cross-platform terminal screen clearing")
+ (description
+ "This crate provides cross-platform terminal screen clearing.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-clicolors-control-1
(package
(name "rust-clicolors-control")