From aaed063b086d53af754c855d160e93bbdc333e4e Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Tue, 3 Dec 2024 14:14:59 +0100 Subject: [PATCH] gnu: Add go-github-com-erikgeiser-coninput. * gnu/packages/golang-xyz.scm (go-github-com-erikgeiser-coninput): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: Ib18b02e26070c87a6dc541c64b16f31ce879b012 --- gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index d51f59089324fd387d704baa97617dd6b6b4b598..b7426b8f8e27807bd26dfbd7437ac01076d7c34a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3007,6 +3007,37 @@ specified in @url{https://datatracker.ietf.org/doc/html/rfc6350, RFC 6350}.") @url{https://tools.ietf.org/html/rfc6352, RFC 6352} specifications.") (license license:expat))) +(define-public go-github-com-erikgeiser-coninput + (package + (name "go-github-com-erikgeiser-coninput") + (version "0.0.0-20211004153227-1c3628e74d0f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erikgeiser/coninput") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x8yw15ngyg4vlcdv5wsgpr6w5kavjv7bmk5mpvvx848bwvslr1r")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/erikgeiser/coninput" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/example"))))))) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/erikgeiser/coninput") + (synopsis "Input handling with Windows Console API") + (description + "Go library for input handling using Windows Console API.") + (license license:expat))) + (define-public go-github-com-errata-ai-ini (package (name "go-github-com-errata-ai-ini")