gnu: Add rust-console-0.15.

* gnu/packages/crates-io.scm (rust-console-0.15): New variable.
(rust-console-0.14): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2022-01-09 12:11:12 +01:00
parent 4fd2439065
commit 2569d831c1
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10869,24 +10869,24 @@ (define-public rust-configparser-2
this to write Rust programs which can be customized by end users easily.") this to write Rust programs which can be customized by end users easily.")
(license (list license:expat license:lgpl3+)))) (license (list license:expat license:lgpl3+))))
(define-public rust-console-0.14 (define-public rust-console-0.15
(package (package
(name "rust-console") (name "rust-console")
(version "0.14.1") (version "0.15.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "console" version)) (uri (crate-uri "console" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0i8z1bdbv8is1lamd81jdsf4pa1ww2jl3h0yjdshc5mabd2fd4rr")))) (base32 "0c9wif28i3q231gvjprqdq1glmgmmcdxpmxcwk1p0jx45k9k52x2"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-encode-unicode" ,rust-encode-unicode-0.3) (("rust-encode-unicode" ,rust-encode-unicode-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)
("rust-regex" ,rust-regex-1) ("rust-regex" ,rust-regex-1)
("rust-terminal-size" ,rust-terminal-size-0.1) ("rust-terminal-size" ,rust-terminal-size-0.1)
("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-unicode-width" ,rust-unicode-width-0.1)
@ -10898,6 +10898,30 @@ (define-public rust-console-0.14
"This package provides a terminal and console abstraction for Rust.") "This package provides a terminal and console abstraction for Rust.")
(license license:expat))) (license license:expat)))
(define-public rust-console-0.14
(package
(inherit rust-console-0.15)
(name "rust-console")
(version "0.14.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "console" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0i8z1bdbv8is1lamd81jdsf4pa1ww2jl3h0yjdshc5mabd2fd4rr"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-encode-unicode" ,rust-encode-unicode-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-regex" ,rust-regex-1)
("rust-terminal-size" ,rust-terminal-size-0.1)
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-winapi" ,rust-winapi-0.3)
("rust-winapi-util" ,rust-winapi-util-0.1))))))
(define-public rust-console-0.13 (define-public rust-console-0.13
(package (package
(inherit rust-console-0.14) (inherit rust-console-0.14)