mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: Add rust-comfy-table-4.
* gnu/packages/crates-io.scm (rust-comfy-table-4): New variable. (rust-comfy-table-1): Inherit from above.
This commit is contained in:
parent
7e12354cd1
commit
a21bb7f6f7
1 changed files with 28 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue