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.")
|
Clap.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-clearscreen-1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-clearscreen-2)
|
||||||
(name "rust-clearscreen")
|
(name "rust-clearscreen")
|
||||||
(version "1.0.4")
|
(version "1.0.4")
|
||||||
(source
|
(source
|
||||||
|
@ -12889,20 +12913,13 @@ Clap.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "083ycj7qhwlq8azy0rl9lpbr69k87hn622wc8mi96w293rsq1zwy"))))
|
(base32 "083ycj7qhwlq8azy0rl9lpbr69k87hn622wc8mi96w293rsq1zwy"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs (("rust-nix" ,rust-nix-0.20)
|
||||||
(("rust-nix" ,rust-nix-0.20)
|
("rust-terminfo" ,rust-terminfo-0.7)
|
||||||
("rust-terminfo" ,rust-terminfo-0.7)
|
("rust-thiserror" ,rust-thiserror-1)
|
||||||
("rust-thiserror" ,rust-thiserror-1)
|
("rust-which" ,rust-which-4)
|
||||||
("rust-which" ,rust-which-4)
|
("rust-winapi" ,rust-winapi-0.3))))))
|
||||||
("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-cli-clipboard-0.4
|
(define-public rust-cli-clipboard-0.4
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue