summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:38 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:20 +0200
commit3c38fd6ab4b3a7d30a65775c11912c73ebffad66 (patch)
tree993fe09fd6073e1166b48684b135673a8c9aa37f
parent6261a42d89f5a939ed1010611f3ef35622771021 (diff)
gnu: Add rust-yansi-term-0.1.
* gnu/packages/crates-io.scm (rust-yansi-term-0.1): New variable. Change-Id: Ideb70b07269446f95a74d92e5cd0aeb3d48a80b7
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4270d56ed1..36565583f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84472,6 +84472,30 @@ Read/Write streams as well as low-level in-memory encoding and decoding.")
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-yansi-term-0.1
+ (package
+ (name "rust-yansi-term")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "yansi-term" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w8vjlvxba6yvidqdvxddx3crl6z66h39qxj8xi6aqayw2nk0p7y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/botika/yansi-term")
+ (synopsis "Library for ANSI terminal colours and styles (bold, underline)")
+ (description
+ "Library for ANSI terminal colours and styles (bold, underline).")
+ (license license:expat)))
+
(define-public rust-yasna-0.5
(package
(name "rust-yasna")