[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add go-github-com-gdamore-tcell.
From: |
guix-commits |
Subject: |
08/10: gnu: Add go-github-com-gdamore-tcell. |
Date: |
Mon, 29 Jul 2019 10:59:03 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit a6689b99ef726a02b6d5374122e0c97a36dcee02
Author: Brian Leung <address@hidden>
Date: Tue Jun 25 20:46:28 2019 +0200
gnu: Add go-github-com-gdamore-tcell.
* gnu/packages/golang.scm (go-github-com-gdamore-tcell): New variable.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/golang.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5ef4417..fc911fc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3312,6 +3312,50 @@ standard @code{Text} package, including some for dealing
with I/O streams from
non-UTF-friendly sources.")
(license license:expat)))
+(define-public go-github-com-gdamore-tcell
+ (let ((commit "aaadc574a6ed8dc3abe56036ca130dcee1ee6b6e")
+ (version "1.1.2")
+ (revision "1"))
+ (package
+ (name "go-github-com-gdamore-tcell")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gdamore/tcell")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0il2nnxp2cqiy73m49215dnf9in3vd25ji8qxbmq87c5qy7i1q9d"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gdamore/tcell"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-files-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Make sure .gz files are writable so that the
+ ;; 'reset-gzip-timestamps' phase can do its work.
+ (let ((out (assoc-ref outputs "out")))
+ (for-each make-file-writable
+ (find-files out "\\.gz$"))
+ #t))))))
+ (inputs
+ `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+ ("go-golang-org-colorful" ,go-golang-org-colorful)
+ ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+ ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)
+ ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
+ (home-page "https://github.com/gdamore/tcell")
+ (synopsis "Provide a cell-based view for text terminals")
+ (description "This package includes a full parser and expander for
+terminfo capability strings to avoid hard-coding escape strings for
+formatting. It also favors portability, and includes support for all POSIX
+systems.")
+ (license license:expat))))
+
(define-public go-github-com-burntsushi-locker
(let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")
(revision "0"))
- branch master updated (767a0a1 -> cb3625b), guix-commits, 2019/07/29
- 01/10: gnu: Add go-golang-org-x-text-encoding., guix-commits, 2019/07/29
- 06/10: gnu: Add go-github-com-gdamore-encoding., guix-commits, 2019/07/29
- 08/10: gnu: Add go-github-com-gdamore-tcell.,
guix-commits <=
- 03/10: gnu: go-golang-org-x-text-unicode-norm: Inherit from related package., guix-commits, 2019/07/29
- 02/10: gnu: go-golang-org-x-text-transform: Inherit from related package., guix-commits, 2019/07/29
- 05/10: gnu: Add go-golang-org-colorful., guix-commits, 2019/07/29
- 10/10: gnu: Add go-github-com-junegunn-fzf., guix-commits, 2019/07/29
- 04/10: gnu: Add go-golang-org-sql-mock., guix-commits, 2019/07/29
- 07/10: gnu: go-github.com-mattn-go-runewidth: Update to 0.0.4-1.703b5e6., guix-commits, 2019/07/29
- 09/10: gnu: Add go-github-com-mattn-go-shellwords., guix-commits, 2019/07/29