summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-08-18 11:52:38 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-18 12:00:37 +0100
commit4f3f204f4d87978b33d4ba5b826b9fd7f565bcc7 (patch)
tree31f4370f91fe91d319d0b14f36bfcf8ff556494a /gnu
parent90d82cfd52c8db9558b2f9fe8cb6185a91eec54e (diff)
gnu: Add go-github-com-clipperhouse-displaywidth.
* gnu/packages/golang-xyz.scm (go-github-com-clipperhouse-displaywidth): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f79b9f94549..1c991071784 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6563,6 +6563,38 @@ source files. A neutral variety of English is used by default, but a US or UK
6563locale can be selected.") 6563locale can be selected.")
6564 (license license:expat))) 6564 (license license:expat)))
6565 6565
6566(define-public go-github-com-clipperhouse-displaywidth
6567 (package
6568 (name "go-github-com-clipperhouse-displaywidth")
6569 (version "0.11.0")
6570 (source
6571 (origin
6572 (method git-fetch)
6573 (uri (git-reference
6574 (url "https://github.com/clipperhouse/displaywidth")
6575 (commit (string-append "v" version))))
6576 (file-name (git-file-name name version))
6577 (sha256
6578 (base32 "032f33vf5ign78l9clc3vz1kzirxgalxswm3j6l4nbf46vpp08yz"))
6579 (snippet
6580 #~(begin
6581 (use-modules (guix build utils))
6582 ;; Submodules with their own go.mod files and packaged separately:
6583 (delete-file-recursively "comparison")
6584 (delete-file-recursively "internal/gen")))))
6585 (build-system go-build-system)
6586 (arguments
6587 (list
6588 #:import-path "github.com/clipperhouse/displaywidth"))
6589 (propagated-inputs
6590 (list go-github-com-clipperhouse-uax29-v2))
6591 (home-page "https://github.com/clipperhouse/displaywidth")
6592 (synopsis "Measure the display column width of strings in Go")
6593 (description
6594 "This package provides a high-performance Go package for measuring the
6595monospace display width of strings, UTF-8 bytes, and runes.")
6596 (license license:expat)))
6597
6566(define-public go-github-com-clipperhouse-stringish 6598(define-public go-github-com-clipperhouse-stringish
6567 (package 6599 (package
6568 (name "go-github-com-clipperhouse-stringish") 6600 (name "go-github-com-clipperhouse-stringish")