aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSuhail Singh <suhailsingh247@gmail.com>2024-08-04 12:39:25 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-30 22:54:12 +0200
commitf4240f71e05487df80b960d41d8b51c2d248fcf3 (patch)
tree1d586100e7662aab6f8e3422393ab08f509bee32 /gnu/packages/crates-io.scm
parentd5312370b46ace47e138d84e1bb28e5651cee94b (diff)
downloadguix-f4240f71e05487df80b960d41d8b51c2d248fcf3.tar.gz
guix-f4240f71e05487df80b960d41d8b51c2d248fcf3.zip
gnu: Add rust-chic-1.
* gnu/packages/crates-io.scm (rust-chic-1): New variable. (rust-annotate-snippets-0.6): New variable. Change-Id: Ibf939b8a15a9135a66bf41e3a39ed1c25c32dbaf Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15a16a6310..53d6920c3a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1727,6 +1727,26 @@ it outputs messages to Android's logcat.")
("rust-toml" ,rust-toml-0.5)
("rust-yansi-term" ,rust-yansi-term-0.1))))))
+(define-public rust-annotate-snippets-0.6
+ (package
+ (inherit rust-annotate-snippets-0.10)
+ (name "rust-annotate-snippets")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "annotate-snippets" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19x7ldklprdgf8pam8b3lfhrxqw5yldcvk5j0bw2agsajbj1q0n7"))))
+ (arguments
+ `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11))
+ #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-difference" ,rust-difference-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8))))))
+
(define-public rust-ansi-parser-0.8
(package
(name "rust-ansi-parser")
@@ -12259,6 +12279,25 @@ Encoding Standard.")
(description "Date and time library for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-chic-1
+ (package
+ (name "rust-chic")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "037pkdccj25gr4my8fq1qni9v87rydpyhfi2naf86mimkxhxpdd5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.6))))
+ (home-page "https://github.com/yoshuawuyts/chic")
+ (synopsis "Pretty parser error reporting")
+ (description "This package provides pretty parser error reporting.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-chrono-humanize-0.2
(package
(name "rust-chrono-humanize")