From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQpu-0007sT-2o for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQpq-0008O6-2v for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQpp-0008O0-Vi for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWQpp-0008S5-PW for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:01 -0400 Subject: [bug#31939] [PATCH 02/13] gnu: Add go-github-com-mattn-go-colorable. References: <20180622182730.1930-1-ambrevar@gmail.com> In-Reply-To: <20180622182730.1930-1-ambrevar@gmail.com> Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 22 Jun 2018 20:30:20 +0200 Message-Id: <20180622183031.3044-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31939@debbugs.gnu.org * 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 266c3c029..0f77b8d48 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1817,3 +1817,31 @@ SysVinit, and more.") tell you whether a file descriptor points to a terminal and the type of the terminal.") (license license:bsd-style)))) + +(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:bsd-style)))) -- 2.17.1