guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72963] [PATCH go-team v2 16/22] gnu: Add go-github-com-charmbracele


From: Herman Rimm
Subject: [bug#72963] [PATCH go-team v2 16/22] gnu: Add go-github-com-charmbracelet-x-input.
Date: Tue, 3 Dec 2024 14:15:01 +0100

* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-input): Add
variable.
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f1ef857086..841abbc9ae 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1674,6 +1674,38 @@ (define-public go-github-com-charmbracelet-x-ansi
 ECMA-48 specs.")
     (license license:expat)))
 
+(define-public go-github-com-charmbracelet-x-input
+  (package
+    (name "go-github-com-charmbracelet-x-input")
+    (version "0.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/x";)
+             (commit (string-append "ansi/v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1j33791lkz4jzvm220dg82wr79gxncfflpqrlz34vhm7215fwbx0"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/charmbracelet/x/input"
+           #:unpack-path "github.com/charmbracelet/x"))
+    (propagated-inputs
+      (append (list go-golang-org-x-sys
+                    go-github-com-xo-terminfo
+                    go-github-com-muesli-cancelreader
+                    go-github-com-erikgeiser-coninput)
+              ;; Inputs from the same module.
+              (go-inputs go-github-com-charmbracelet-x-windows)
+              (go-inputs go-github-com-charmbracelet-x-ansi)))
+    (home-page "https://github.com/charmbracelet/x";)
+    (synopsis "Terminal event input handler and driver")
+    (description
+     "This package provides a terminal event input handler and driver.")
+    (license license:expat)))
+
 (define-public go-github-com-charmbracelet-x-windows
   (package
     (name "go-github-com-charmbracelet-x-windows")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]