diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7c05a17620..33f33317f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9424,8 +9424,35 @@ (define-public rust-combine-regex-1-1 and 1.0.") (license (list license:expat license:asl2.0)))) +(define-public rust-comfy-table-4 + (package + (name "rust-comfy-table") + (version "4.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "comfy-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossterm" ,rust-crossterm-0.20) + ("rust-strum" ,rust-strum-0.21) + ("rust-strum-macros" ,rust-strum-macros-0.21) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/nukesor/comfy-table") + (synopsis "Library for building tables with automatic content wrapping") + (description + "Comfy-tables is an utility for building tables with automatic content +wrapping.") + (license license:expat))) + (define-public rust-comfy-table-1 (package + (inherit rust-comfy-table-4) (name "rust-comfy-table") (version "1.6.0") (source @@ -9435,19 +9462,12 @@ (define-public rust-comfy-table-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1y6lc8h2lyyrrrdc36fz7brwyjz5l9w4nld4qx9mlacfibm8i92j")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.19) ("rust-strum" ,rust-strum-0.20) - ("rust-strum-macros" ,rust-strum-macros-0.20)))) - (home-page "https://github.com/nukesor/comfy-table") - (synopsis "Library for building tables with automatic content wrapping") - (description - "Comfy-tables is an utility for building tables with automatic content -wrapping.") - (license license:expat))) + ("rust-strum-macros" ,rust-strum-macros-0.20)))))) (define-public rust-commoncrypto-sys-0.2 (package