~ruther/guix-local

d44361311e672b5362f2c6cb5c35fb861815814d — Maxim Cournoyer 1 year, 2 months ago 3a0d07e
gnu: Add go-github-com-peterh-liner.

* gnu/packages/golang-xyz.scm (go-github-com-peterh-liner): New variable.

Change-Id: Ie9f44af0a92a203a50b170f9a1fb47fc3c35279f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +26 -0
@@ 13806,6 13806,32 @@ robust way to define those flags, and to parse them from command-line
arguments, environment variables, and/or config files.")
    (license license:asl2.0)))

(define-public go-github-com-peterh-liner
  (package
    (name "go-github-com-peterh-liner")
    (version "1.2.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/peterh/liner")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0hq0maja0ymdc0x5f78jv0hxh4i7byxb5y9p70vi9zsip9yhirqp"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/peterh/liner"))
    (propagated-inputs (list go-golang-org-x-sys
                             go-github-com-mattn-go-runewidth))
    (home-page "https://github.com/peterh/liner")
    (synopsis "Command line editor Go library")
    (description "The @code{liner} Go package implements a simple command line
editor with history, inspired by @url{https://github.com/antirez/linenoise/,
linenoise}.  Xterm as well as WIN32 terminal codes are supported.")
    (license license:expat)))

(define-public go-github-com-philhofer-fwd
  (package
    (name "go-github-com-philhofer-fwd")