summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-12-04 16:23:04 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 15:11:11 -0400
commitec2b5f9133eeae83728e1f804f8ecbe954323e67 (patch)
tree155bb45c6a4bbd34764cbf2252eda1a3b989fb74
parent2d438e4b8744ac86756561bce5b860d20fae74ed (diff)
gnu: Add rust-anes.
* gnu/packages/crates-io.scm (rust-anes-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9cc5c292ff..c324f570d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2679,6 +2679,31 @@ it outputs messages to Android's logcat.")
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4))))))
+(define-public rust-anes-0.1
+ (package
+ (name "rust-anes")
+ (version "0.1.6")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "anes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16bj1ww1xkwzbckk32j2pnbn5vk6wgsl3q4p3j9551xbcarwnijb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;FIXME: unresolved import anes::parser..?
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1))))
+ (home-page "https://github.com/zrzka/anes-rs")
+ (synopsis "Parse ANSI escape sequences")
+ (description
+ "This package contains an ANSI escape sequences provider and parser.")
+ ;; The user can choose either license.
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ansi-parser-0.6
(package
(name "rust-ansi-parser")