gnu: Add rust-clearscreen-2.
* gnu/packages/crates-io.scm (rust-clearscreen-2): New variable. (rust-clearscreen-1): Inherit from rust-clearscreen-2. Change-Id: Icc765caf309f4d4a25b04880d8db34aa14d036e1
This commit is contained in:
parent
65dbb41e60
commit
ef506b3f03
1 changed files with 29 additions and 12 deletions
|
@ -12878,8 +12878,32 @@ stream of tokens.")
|
|||
Clap.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-clearscreen-2
|
||||
(package
|
||||
(name "rust-clearscreen")
|
||||
(version "2.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "clearscreen" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "15799yi8azfkn86m1i1kgb7xxk7k321gf8zx5vk08rjq38pz5wvj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-nix" ,rust-nix-0.26)
|
||||
("rust-terminfo" ,rust-terminfo-0.8)
|
||||
("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-clearscreen-1
|
||||
(package
|
||||
(inherit rust-clearscreen-2)
|
||||
(name "rust-clearscreen")
|
||||
(version "1.0.4")
|
||||
(source
|
||||
|
@ -12889,20 +12913,13 @@ Clap.")
|
|||
(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))))
|
||||
#: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))))))
|
||||
|
||||
(define-public rust-cli-clipboard-0.4
|
||||
(package
|
||||
|
|
Reference in a new issue