all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 68328@debbugs.gnu.org
Subject: [bug#68328] [PATCH 1/2] gnu: Add rust-yansi-term-0.1.
Date: Mon, 8 Jan 2024 14:46:19 +0100	[thread overview]
Message-ID: <87a5pfiwvq.fsf@troyfigiel.com> (raw)
In-Reply-To: <87bk9viwz9.fsf@troyfigiel.com>

* gnu/packages/crates-io.scm (rust-yansi-term-0.1): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bfd8fb143..9d52921a1c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90813,6 +90813,34 @@ (define-public rust-yansi-0.5
 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/zzau13/yansi-term")
+    (synopsis "Library for ANSI terminal colours and styles")
+    (description
+     "This library enables controlling colours and formatting, such as red
+bold text or blue underlined text, on @acronym{ANSI, American National
+Standards Institute} terminals.")
+    (license license:expat)))
+
 (define-public rust-yasna-0.5
   (package
     (name "rust-yasna")
-- 
2.42.0





  reply	other threads:[~2024-01-08 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08 16:54 [bug#68328] [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Troy Figiel
2024-01-08 13:46 ` Troy Figiel [this message]
2024-01-08 16:52 ` [bug#68328] [PATCH 2/2] gnu: Add rust-annotate-snippets-0.9 Troy Figiel
2024-01-19  9:38 ` bug#68328: [PATCH 0/2] Add rust-annotate-snippets-0.9 and rust-yansi-term-0.1 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5pfiwvq.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=68328@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.