diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2024-01-05 23:52:40 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:38 +0200 |
commit | cd607885b087f990216c778d463f92eb1425cff0 (patch) | |
tree | c4083e158a35acc20f36d648039b01975c4d780a /gnu/packages/crates-io.scm | |
parent | 01d308741a525c04f798bce41015eb5d64f537f8 (diff) | |
download | guix-cd607885b087f990216c778d463f92eb1425cff0.tar.gz guix-cd607885b087f990216c778d463f92eb1425cff0.zip |
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>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8a5952c819..7777ff82da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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 |