[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth.
From: |
Christopher Baines |
Subject: |
[bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth. |
Date: |
Sat, 27 Jan 2018 15:00:25 +0000 |
* gnu/packages/textutils.scm (go-github.com-mattn-go-runewidth): New variable.
---
gnu/packages/textutils.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 1f5fe6aba..3284be243 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -37,6 +37,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system ant)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
#:use-module (gnu packages)
@@ -660,3 +661,26 @@ source code.")
"This library simply implements Levenshtein distance algorithm with C++
and Cython.")
(license license:expat))))
+
+(define-public go-github.com-mattn-go-runewidth
+ (package
+ (name "go-github.com-mattn-go-runewidth")
+ (version "0.0.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mattn/go-runewidth")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vkrfrz3fzn5n6ix4k8s0cg0b448459sldq8bp4riavsxm932jzb"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/mattn/go-runewidth"))
+ (synopsis "@code{runewidth} provides Go functions to work with string
widths")
+ (description
+ "The @code{runewidth} library provides Go functions for padding,
+measuring and checking the width of strings, with support east asian text.")
+ (home-page "https://github.com/jessevdk/go-flags")
+ (license license:expat)))
--
2.15.1
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., (continued)
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 04/10] gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 06/10] gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/23
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 08/10] gnu: Add go-github.com-mattn-go-runewidth.,
Christopher Baines <=
- [bug#30214] [PATCH 05/10] gnu: Add daemontools., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 03/10] gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 02/10] gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 10/10] gnu: Add mongo-tools., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 06/10] gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 09/10] gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 04/10] gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/27
- [bug#30214] [PATCH 01/10] gnu: Add go-golang.org-x-crypto-ssh-terminal., Leo Famulari, 2018/01/29