mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 06:20:18 +01:00
gnu: rust-bat-0.18: Refactor package as library.
* gnu/packages/crates-io.scm (rust-bat-0.18): Refactor package definition as library. [package]: Inherit from rust-bat-0.22. [name]: Change to rust-bat. Change-Id: I4f5cead29ae56af87529872880e5fc75204e9898 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
01d308741a
commit
cd607885b0
1 changed files with 4 additions and 14 deletions
|
@ -5826,7 +5826,8 @@ use for syntax highlighting in other crates.")
|
|||
|
||||
(define-public rust-bat-0.18
|
||||
(package
|
||||
(name "bat")
|
||||
(inherit rust-bat-0.22)
|
||||
(name "rust-bat")
|
||||
(version "0.18.3")
|
||||
(source
|
||||
(origin
|
||||
|
@ -5835,10 +5836,8 @@ use for syntax highlighting in other crates.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
`(#:cargo-inputs
|
||||
(("rust-ansi-colours" ,rust-ansi-colours-1)
|
||||
("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||
("rust-atty" ,rust-atty-0.2)
|
||||
|
@ -5869,17 +5868,8 @@ use for syntax highlighting in other crates.")
|
|||
("rust-serial-test" ,rust-serial-test-0.5)
|
||||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-wait-timeout" ,rust-wait-timeout-0.2))))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
(list libgit2 zlib))
|
||||
(home-page "https://github.com/sharkdp/bat")
|
||||
(synopsis "@command{cat} clone with syntax highlighting and git integration")
|
||||
(description
|
||||
"@command{bat} is a drop-in @command{cat} replacement featuring syntax
|
||||
highlighting for a large number of languages, git integration, and automatic
|
||||
paging.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(list libgit2 zlib))))
|
||||
|
||||
(define-public rust-beef-0.5
|
||||
(package
|
||||
|
|
Loading…
Add table
Reference in a new issue