From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQmx-0006yH-L0 for guix-patches@gnu.org; Fri, 22 Jun 2018 14:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQmw-0007T6-LE for guix-patches@gnu.org; Fri, 22 Jun 2018 14:28:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQmw-0007Sv-Hx for guix-patches@gnu.org; Fri, 22 Jun 2018 14:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWQmw-0008K1-6B for guix-patches@gnu.org; Fri, 22 Jun 2018 14:28:02 -0400 Subject: [bug#31939] [PATCH 01/13] gnu: Add go-github-com-mattn-go-isatty. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQma-0006sL-V8 for guix-patches@gnu.org; Fri, 22 Jun 2018 14:27:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQmZ-0007NS-WB for guix-patches@gnu.org; Fri, 22 Jun 2018 14:27:40 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:52775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQmZ-0007Mw-N6 for guix-patches@gnu.org; Fri, 22 Jun 2018 14:27:39 -0400 Received: by mail-wm0-x233.google.com with SMTP id p126-v6so3107113wmb.2 for ; Fri, 22 Jun 2018 11:27:39 -0700 (PDT) Received: from mimimi.home (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id y186-v6sm2716709wmd.38.2018.06.22.11.27.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 11:27:37 -0700 (PDT) From: Pierre Neidhardt Date: Fri, 22 Jun 2018 20:27:30 +0200 Message-Id: <20180622182730.1930-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-isatty): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6ca2286..266c3c029 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1791,3 +1791,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