summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")