diff mbox series

[bug#72963,go-team,v2,15/22] gnu: Add go-github-com-charmbracelet-x-windows.

Message ID 4055f93b81f80e7fe24a11982b00babe241ec36c.1733231503.git.herman@rimm.ee
State New
Headers show
Series [bug#72963,go-team,v2,01/22] gnu: Add go-github-com-buildkite-shellwords. | expand

Commit Message

Herman Rimm Dec. 3, 2024, 1:15 p.m. UTC
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-windows):
Add variable.
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6fd4526040..f1ef857086 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1674,6 +1674,31 @@  (define-public go-github-com-charmbracelet-x-ansi
 ECMA-48 specs.")
     (license license:expat)))
 
+(define-public go-github-com-charmbracelet-x-windows
+  (package
+    (name "go-github-com-charmbracelet-x-windows")
+    (version "0.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/x")
+             (commit (string-append "windows/v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0bl81xn1kfmr4iacbiqiay1mxqkpgssrix3q5i4ck6fidrb8g8bs"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/charmbracelet/x/windows"
+           #:unpack-path "github.com/charmbracelet/x"))
+    (propagated-inputs (list go-golang-org-x-sys))
+    (home-page "https://github.com/charmbracelet/x")
+    (synopsis "Windows API used at Charmbracelet")
+    (description
+     "This package provides the Windows API used at Charmbracelet.")
+    (license license:expat)))
+
 (define-public go-github-com-cheggaaa-pb
   (package
     (name "go-github-com-cheggaaa-pb")