Subject: [bug#72963] [PATCH go-team 19/30] gnu: Add go-github-com-charmbracelet-x-windows.

From: Herman Rimm <[email-masked]>
Date: Mon, 2 Sep 2024 14:18:27 +0200

* 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 --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3c5249c300..dc4c7f9c7e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1541,6 +1541,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")
-- 
2.45.2