diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-02-20 17:36:56 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-02-20 17:36:56 +0100 |
commit | 7f69459aca16756f35f08049c64a1bd77d23f33e (patch) | |
tree | 1d267fb62feab89de5d97582672540cbaa37392c /gnu/packages/textutils.scm | |
parent | 4a82722a658220ec1e10f9f2d5d77407d38db90e (diff) | |
parent | b1989c12501e880afab62d3ff961791906fef350 (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r-- | gnu/packages/textutils.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 1f5fe6aba2..3284be243e 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))) |