From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edjL1-0005Kl-R0 for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edjL0-0002u8-1K for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edjKz-0002tT-RD for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edjKz-0007nS-Ko for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:05 -0500 Subject: [bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go. Resent-Message-ID: From: Christopher Baines Date: Mon, 22 Jan 2018 21:08:29 +0000 Message-Id: <20180122210830.28924-9-mail@cbaines.net> In-Reply-To: <20180122210830.28924-1-mail@cbaines.net> References: <87h8rd4nxg.fsf@cbaines.net> <20180122210830.28924-1-mail@cbaines.net> 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: 30214@debbugs.gnu.org * gnu/packages/terminals.scm (go-github.com-nsf-termbox-go): New variable. --- gnu/packages/terminals.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 8740356a1..f90ae96e2 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -53,6 +53,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-web) #:use-module (gnu packages qt) + #:use-module (gnu packages textutils) #:use-module (gnu packages wm) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) @@ -574,6 +575,35 @@ It's a terminal emulator with few dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator.") (license license:gpl2))) +(define-public go-github.com-nsf-termbox-go + (let ((commit "4ed959e0540971545eddb8c75514973d670cf739") + (revision "0")) + (package + (name "go-github.com-nsf-termbox-go") + (version (string-append "0.0.0-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nsf/termbox-go.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vx64i1mg660if3wwm81p4b7lzxfb3qbr39i7misdyld3fc486p9")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/nsf/termbox-go")) + (propagated-inputs + `(("go-github.com-mattn-go-runewidth" + ,go-github.com-mattn-go-runewidth))) + (synopsis "@code{termbox} provides a minimal API for text-based user +interfaces") + (description + "Termbox is a library that provides a minimalistic API which allows the +programmer to write text-based user interfaces.") + (home-page "https://github.com/nsf/termbox-go") + (license license:expat)))) + (define-public go-golang.org-x-crypto-ssh-terminal (let ((commit "c78caca803c95773f48a844d3dcab04b9bc4d6dd") (revision "0")) -- 2.15.1