From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68275@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68275] [PATCH 08/11] gnu: Add rust-bat-0.22.
Date: Fri, 5 Jan 2024 23:52:39 -0500 [thread overview]
Message-ID: <68f3a797f4eb512dfd6493819da89e34fb7fe60c.1704516729.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1704516728.git.jaeme@runbox.com>
* gnu/packages/crates-io.scm (rust-bat-0.22): New variable.
Change-Id: Idd162185472b147c635faa6f241e13d2c6595487
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97ccb82d59..3265d85588 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5694,6 +5694,65 @@ (define-public rust-basic-toml-0.1
dependencies.")
(license (list license:expat license:asl2.0))))
+(define-public rust-bat-0.22
+ (package
+ (name "rust-bat")
+ (version "0.22.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pdnbblvf2dkmnf6yybmysgmlw4j79j7c6mylcc8317h0xsymzgv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; Provided as a library not a binary.
+ #:cargo-inputs
+ (("rust-ansi-colours" ,rust-ansi-colours-1)
+ ("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-bincode" ,rust-bincode-1)
+ ("rust-bugreport" ,rust-bugreport-0.5)
+ ("rust-bytesize" ,rust-bytesize-1)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-clircle" ,rust-clircle-0.3)
+ ("rust-console" ,rust-console-0.15)
+ ("rust-content-inspector" ,rust-content-inspector-0.2)
+ ("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-encoding" ,rust-encoding-0.2)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-git2" ,rust-git2-0.15)
+ ("rust-globset" ,rust-globset-0.4)
+ ("rust-grep-cli" ,rust-grep-cli-0.1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-path-abs" ,rust-path-abs-0.5)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-syntect" ,rust-syntect-5)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-wild" ,rust-wild-2))
+ #:cargo-development-inputs
+ (("rust-assert-cmd" ,rust-assert-cmd-2)
+ ("rust-nix" ,rust-nix-0.24)
+ ("rust-predicates" ,rust-predicates-2)
+ ("rust-serial-test" ,rust-serial-test-0.6)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-wait-timeout" ,rust-wait-timeout-0.2))))
+ (native-inputs (list pkg-config))
+ (inputs (list libgit2 openssl zlib))
+ (home-page "https://github.com/sharkdp/bat")
+ (synopsis "Library providing syntax highlighting for text")
+ (description
+ "This package provides the @command{bat} syntax highlighter as a library to use
+for syntax highlighting in other crates.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bat-0.18
(package
(name "bat")
--
2.41.0
next prev parent reply other threads:[~2024-01-06 4:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1704516728.git.jaeme@runbox.com>
2024-01-06 4:52 ` [bug#68275] [PATCH 01/11] gnu: Add rust-sysinfo-0.28 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 02/11] gnu: rust-smol-str-0.1: Update to 0.1.24 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 03/11] gnu: Add rust-palette-derive-0.6 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 04/11] gnu: Add rust-palette-0.6 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 05/11] gnu: rust-chrono-humanize-0.2: Update to 0.2.3 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 06/11] gnu: Add rust-bytelines-2.2 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 07/11] gnu: Add rust-bytelines-2 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` Jaeme Sifat via Guix-patches via [this message]
2024-01-06 4:52 ` [bug#68275] [PATCH 09/11] gnu: rust-bat-0.18: Refactor package as library Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 10/11] gnu: Add rust-box-drawing-0.1 Jaeme Sifat via Guix-patches via
2024-01-06 4:52 ` [bug#68275] [PATCH 11/11] gnu: Add git-delta Jaeme Sifat via Guix-patches via
2024-01-08 18:12 ` bug#68275: " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68f3a797f4eb512dfd6493819da89e34fb7fe60c.1704516729.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=68275@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).