From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWeYX-00024A-Um for guix-patches@gnu.org; Sat, 23 Jun 2018 05:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWeYU-0000Ln-NW for guix-patches@gnu.org; Sat, 23 Jun 2018 05:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWeYU-0000Lh-Ji for guix-patches@gnu.org; Sat, 23 Jun 2018 05:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWeYU-0003aL-BB for guix-patches@gnu.org; Sat, 23 Jun 2018 05:10:02 -0400 Subject: [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty. Resent-Message-ID: From: Pierre Neidhardt Date: Sat, 23 Jun 2018 11:08:59 +0200 Message-Id: <20180623090859.12030-1-ambrevar@gmail.com> In-Reply-To: <20180622182730.1930-1-ambrevar@gmail.com> References: <20180622182730.1930-1-ambrevar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-isatty): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6ca2286..3991deb5d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018 Christopher Baines ;;; Copyright © 2018 Tomáš Čech ;;; Copyright © 2018 Pierre-Antoine Rouby +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -1791,3 +1792,29 @@ finding resources located relative to the executable file.") run programs as a service using a variety of supervisors, including systemd, SysVinit, and more.") (license license:zlib)))) + +(define-public go-github-com-mattn-go-isatty + (let ((commit "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c") + (revision "0")) + (package + (name "go-github-com-mattn-go-isatty") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattn/go-isatty") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mattn/go-isatty")) + (home-page "https://github.com/mattn/go-isatty") + (synopsis "@code{isatty} for Golang") + (description "This package provides @code{isatty}, a Go module that can +tell you whether a file descriptor points to a terminal and the type of the +terminal.") + (license license:bsd-style)))) -- 2.17.1