summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:42 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:22 +0200
commita4a72b808910dea72623e93d946ee9123a212216 (patch)
tree579bc29f003c63a12f07e07f9f7f6b5d70059511 /gnu
parent05db7028abe4249047a6cec03f3691711cb03d03 (diff)
gnu: Add rust-annotate-snippets-0.9.
* gnu/packages/crates-io.scm (rust-annotate-snippets-0.9): New variable. Change-Id: Ib10d81388a32a50a4b6fd3ac79efba551c8a026d
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 942702a824..47ce8e8a5a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2116,6 +2116,32 @@ it outputs messages to Android's logcat.")
;; The user can choose either license.
(license (list license:expat license:asl2.0))))
+(define-public rust-annotate-snippets-0.9
+ (package
+ (name "rust-annotate-snippets")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "annotate-snippets" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07p8r6jzb7nqydq0kr5pllckqcdxlyld2g275v425axnzffpxbyc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-yansi-term" ,rust-yansi-term-0.1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-difference" ,rust-difference-2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-yansi-term" ,rust-yansi-term-0.1))))
+ (home-page "https://github.com/rust-lang/annotate-snippets-rs")
+ (synopsis "Library for building code annotations")
+ (description "Library for building code annotations.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-ansi-parser-0.8
(package
(name "rust-ansi-parser")