unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#43414] [PATCH 3/3] gnu: Add rust-ansi-colours.
  2020-09-15  8:36 [bug#43414] [PATCH 2/3] gnu: Add rust-delta-e Gabriel Arazas
@ 2020-09-15  8:36 ` Gabriel Arazas
  0 siblings, 0 replies; only message in thread
From: Gabriel Arazas @ 2020-09-15  8:36 UTC (permalink / raw)
  To: 43414; +Cc: Gabriel Arazas

* gnu/packages/crates-io.scm (rust-ansi-colours-1.0): 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 563daf9ed8..2cb22343c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -442,6 +442,34 @@ shapes, lines and text to buffers.")
     (description "This package provides the glue for the Android JNI.")
     (license license:expat)))
 
+(define-public rust-ansi-colours-1.0
+  (package
+    (name "rust-ansi-colours")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ansi_colours" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-development-inputs
+        (("rust-cc" ,rust-cc-1)
+         ("rust-delta-e" ,rust-delta-e-0.2)
+         ("rust-lab" ,rust-lab-0.4))))
+    (home-page "https://github.com/mina86/ansi_colours")
+    (synopsis
+      "Palette converter between true-colour and ANSI terminal")
+    (description
+      "Provides a palette converter between true-colour and ANSI terminal
+colors. It is often used for supporting different terminal emulators with
+different color bit counts.")
+    (license license:lgpl3+)))
+
 (define-public rust-ansi-term-0.12
   (package
     (name "rust-ansi-term")
-- 
2.28.0





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-15 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15  8:36 [bug#43414] [PATCH 2/3] gnu: Add rust-delta-e Gabriel Arazas
2020-09-15  8:36 ` [bug#43414] [PATCH 3/3] gnu: Add rust-ansi-colours Gabriel Arazas

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git