summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-26 13:49:48 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-01 08:41:01 +0100
commit4eee0172797977e8a07f207b3f01f6801bb000c0 (patch)
tree2c662a0d2d22f15ff884e5b13072c7cea351ef61 /gnu/packages/golang-xyz.scm
parent86f0e4c1fb0ffd6c1a6bf5d78857d4597f0ef9f3 (diff)
gnu: Add go-github-com-ergochat-readline.
* gnu/packages/golang-xyz.scm (go-github-com-ergochat-readline): New variable. Change-Id: I0c2852c64043b35f1d917eff914eda45ed53f2ec
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7beb5ed98d..75888ffd5e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5771,6 +5771,33 @@ cannot enforce semantic rules for values. This plugin adds support to
protoc-generated code to validate such constraints.")
(license license:asl2.0)))
+(define-public go-github-com-ergochat-readline
+ (package
+ (name "go-github-com-ergochat-readline")
+ (version "0.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ergochat/readline")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16zyk1dzwix5l9iph61img6qn5kryq3kb03dk2lwmrwyr1xdsip3"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.23
+ #:import-path "github.com/ergochat/readline"))
+ (propagated-inputs (list go-golang-org-x-text go-golang-org-x-sys))
+ (home-page "https://github.com/ergochat/readline")
+ (synopsis "Readline implementation in pure Go")
+ (description
+ "This package provides a pure Go implementation of functionality
+comparable to @url{https://en.wikipedia.org/wiki/GNU_Readline, GNU Readline},
+i.e. line editing and command history for simple TUI programs.")
+ (license license:expat)))
+
(define-public go-github-com-erikgeiser-coninput
(package
(name "go-github-com-erikgeiser-coninput")