(address . guix-patches@gnu.org)(name . Fries)(address . fries1234@protonmail.com)
* gnu/packages/golang.scm (go-github-com-chyzer-readline): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Toggle diff (38 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ef82f0aa1b..1a6d64de23 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2113,6 +2113,31 @@ (define-public go-github-com-dhowett-go-plist
types.")
(license license:giftware))))
+(define-public go-github-com-chzyer-readline
+ (package
+ (name "go-github-com-chzyer-readline")
+ (version "1.5.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chzyer/readline")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1msh9qcm7l1idpmfj4nradyprsr86yhk9ch42yxz7xsrybmrs0pb"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/chzyer/readline"))
+ (propagated-inputs `(("go-github-com-chzyer-logex" ,go-github-com-chzyer-logex)
+ ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-chzyer-test" ,go-github-com-chzyer-test)))
+ (home-page "https://github.com/chzyer/readline")
+ (synopsis "Pure Go readline library")
+ (description
+ "Readline is a pure Go implementation of a GNU-Readline like library.")
+ (license license:expat)))
+
(define-public go-github-com-chzyer-test
(package
(name "go-github-com-chzyer-test")
--
2.41.0