diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-10-29 00:27:12 -0400 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:27 +0200 |
commit | f16f82e66d27b3d1d7660cbe8e6842b31ac62953 (patch) | |
tree | b6c53788bf91fda094d4ebf8bd67f36c3a7a620c /gnu/packages/crates-graphics.scm | |
parent | f8b1c6c018340df9600cf5c6c9555dc219ce1a34 (diff) | |
download | guix-f16f82e66d27b3d1d7660cbe8e6842b31ac62953.tar.gz guix-f16f82e66d27b3d1d7660cbe8e6842b31ac62953.zip |
gnu: Add rust-ansiterm-0.12.
* gnu/packages/crates-graphics.scm (rust-ansiterm-0.12): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I9f98081b498c4781258d1be3ed44875127a5075c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index fe834439cd..e7f777e83b 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -198,6 +199,32 @@ text or blue underlined text, on ANSI terminals.") "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) (arguments `()))) +(define-public rust-ansiterm-0.12 + (package + (name "rust-ansiterm") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansiterm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k14pywvgd829swxzji0nchk4n6yvr9xz6lkwv96v8ax77sqgdaa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) + ("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/rustadopt/ansiterm-rs") + (synopsis "Library for ANSI terminal colours and styles (bold, underline)") + (description + "This package provides a library for ANSI terminal colours and +styles (bold, underline).") + (license license:expat))) + (define-public rust-aom-sys-0.3 (package (name "rust-aom-sys") |