gnu: Add rust-indicatif-0.17.

* gnu/packages/crates-io.scm (rust-indicatif-0.17): New variable.
(rust-indicatif-0.16): Inherit from rust-indicatif-0.17.

Change-Id: Ieeccd62bec25b1c96ab01b96065562de608489e4
This commit is contained in:
Efraim Flashner 2024-03-31 14:14:13 +03:00
parent 5940e9a828
commit 25f623bb8b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -32890,8 +32890,49 @@ (define-public rust-indextree-4
of reference counted pointers.")
(license license:expat)))
(define-public rust-indicatif-0.17
(package
(name "rust-indicatif")
(version "0.17.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "indicatif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18xyqxw9i5x4sbpzckhfz3nm984iq9r7nbi2lk76nz888n7mlfkn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
"--skip=style::tests::wide_element_style")
#:cargo-inputs (("rust-console" ,rust-console-0.15)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-instant" ,rust-instant-0.1)
("rust-number-prefix" ,rust-number-prefix-0.4)
("rust-portable-atomic" ,rust-portable-atomic-1)
("rust-rayon" ,rust-rayon-1)
("rust-tokio" ,rust-tokio-1)
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-vt100" ,rust-vt100-0.15))
#:cargo-development-inputs
(("rust-clap" ,rust-clap-4)
("rust-futures" ,rust-futures-0.3)
("rust-once-cell" ,rust-once-cell-1)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-rand" ,rust-rand-0.8)
("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/console-rs/indicatif")
(synopsis "Progress bar and cli reporting library for Rust")
(description
"This package provides a progress bar and cli reporting library for
Rust.")
(license license:expat)))
(define-public rust-indicatif-0.16
(package
(inherit rust-indicatif-0.17)
(name "rust-indicatif")
(version "0.16.2")
(source (origin
@ -32901,7 +32942,6 @@ (define-public rust-indicatif-0.16
(sha256
(base32
"06xyjs0kzqiqkjn60n1miwm2l87sa9p2lmzz0ymq18y72z37s81d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-console" ,rust-console-0.15)
@ -32911,15 +32951,8 @@ (define-public rust-indicatif-0.16
("rust-regex" ,rust-regex-1)
("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
("rust-unicode-width" ,rust-unicode-width-0.1))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.8)
("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/console-rs/indicatif")
(synopsis "Progress bar and cli reporting library for Rust")
(description
"This package provides a progress bar and cli reporting library for
Rust.")
(license license:expat)))
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)
("rust-tokio" ,rust-tokio-1))))))
(define-public rust-indicatif-0.15
(package