2019-02-01 20:18:15 +00:00
|
|
|
(use-modules (guix packages)
|
|
|
|
(guix download)
|
2019-02-02 20:02:42 +00:00
|
|
|
(guix build-system cargo)
|
2019-02-01 20:18:15 +00:00
|
|
|
(guix licenses))
|
|
|
|
|
2019-02-02 20:02:42 +00:00
|
|
|
(use-modules (rekahsoft packages rust-xyz))
|
|
|
|
|
2019-02-01 20:18:15 +00:00
|
|
|
(package
|
2019-02-02 20:02:42 +00:00
|
|
|
(name "rust-bat")
|
2019-02-01 20:18:15 +00:00
|
|
|
(version "0.9.0")
|
2019-02-02 20:02:42 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "bat" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0my950gp9l9w75azlgl2s3qwj5874x6qwzc26xcj8q4nmpjdwpp3"))))
|
2019-02-01 20:18:15 +00:00
|
|
|
(build-system cargo-build-system)
|
2019-02-02 20:02:42 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("rust-assert-cmd" ,rust-assert-cmd "src")
|
|
|
|
("rust-clap" ,rust-clap "src")
|
|
|
|
("rust-escargot" ,rust-escargot "src")
|
|
|
|
("rust-tempdir" ,rust-tempdir "src")))
|
|
|
|
(inputs
|
|
|
|
`(("rust-ansi-colours" ,rust-ansi-colours "src")
|
|
|
|
("rust-ansi-term" ,rust-ansi-term "src")
|
|
|
|
("rust-atty" ,rust-atty "src")
|
|
|
|
("rust-clap" ,rust-clap "src")
|
|
|
|
("rust-console" ,rust-console "src")
|
|
|
|
("rust-content-inspector"
|
|
|
|
,rust-content-inspector
|
|
|
|
"src")
|
|
|
|
("rust-directories" ,rust-directories "src")
|
|
|
|
("rust-encoding" ,rust-encoding "src")
|
|
|
|
("rust-error-chain" ,rust-error-chain "src")
|
|
|
|
("rust-git2" ,rust-git2 "src")
|
|
|
|
("rust-lazy-static" ,rust-lazy-static "src")
|
|
|
|
("rust-shell-words" ,rust-shell-words "src")
|
|
|
|
("rust-syntect" ,rust-syntect "src")
|
|
|
|
("rust-wild" ,rust-wild "src")))
|
2019-02-01 20:18:15 +00:00
|
|
|
(home-page "https://github.com/sharkdp/bat")
|
2019-02-02 20:02:42 +00:00
|
|
|
(synopsis "A cat(1) clone with wings.")
|
|
|
|
(description
|
|
|
|
"This package provides a cat(1) clone with wings.")
|
|
|
|
(license #f))
|