guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/13: gnu: Add go-github-com-mattn-go-colorable.


From: Pierre Neidhardt
Subject: 02/13: gnu: Add go-github-com-mattn-go-colorable.
Date: Sun, 22 Jul 2018 16:55:22 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 7601b4e4fe93130562475efc67a641c2f3b8ccc8
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Jun 22 17:39:47 2018 +0200

    gnu: Add go-github-com-mattn-go-colorable.
    
    * gnu/packages/golang.scm (go-github-com-mattn-go-colorable): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 26f9fda..aabde78 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2002,3 +2002,31 @@ values.")
 tell you whether a file descriptor points to a terminal and the type of the
 terminal.")
       (license license:expat))))
+
+(define-public go-github-com-mattn-go-colorable
+  (let ((commit "efa589957cd060542a26d2dd7832fd6a6c6c3ade")
+        (revision "0"))
+    (package
+      (name "go-github-com-mattn-go-colorable")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mattn/go-colorable";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-mattn-go-isatty"
+          ,go-github-com-mattn-go-isatty)))
+      (arguments
+       '(#:import-path "github.com/mattn/go-colorable"))
+      (home-page "https://github.com/mattn/go-colorable";)
+      (synopsis "Handle ANSI color escapes on Windows")
+      (description "This package provides @code{colorable}, a module that
+makes it possible to handle ANSI color escapes on Windows.")
+      (license license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]