mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-zgo-at-runewidth.
* gnu/packages/golang-xyz.scm (go-zgo-at-runewidth): New variable. Change-Id: I7c03b7e89ba45e8ce63cc482a4f860bdf839f727 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
41e408eb1f
commit
98aed3b9f8
1 changed files with 27 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com>
|
;;; Copyright © 2024 Luis Higino <luishenriquegh2701@gmail.com>
|
||||||
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
|
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
|
||||||
;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
|
;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
|
||||||
|
;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -7346,6 +7347,32 @@ also provides V-style logging controlled by the @code{-v} and
|
||||||
defined in @url{https://editorconfig.org/,https://editorconfig.org/}.")
|
defined in @url{https://editorconfig.org/,https://editorconfig.org/}.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-zgo-at-runewidth
|
||||||
|
(package
|
||||||
|
(name "go-zgo-at-runewidth")
|
||||||
|
(version "0.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/arp242/runewidth")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "17wbzwak831z04kj4xdvh2q78k3in3kay009n0yj8nlwn1p126ph"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "zgo.at/runewidth"))
|
||||||
|
(home-page "https://github.com/arp242/runewidth")
|
||||||
|
(synopsis "Get fixed width of the character or string")
|
||||||
|
(description
|
||||||
|
"@samp{runewidth} provides functions to get fixed width of the character
|
||||||
|
or string. It is a fork of https://github.com/mattn/go-runewidth, updated to
|
||||||
|
the newest Unicode and having various helper functions removed, so all that
|
||||||
|
remains is just the @code{runewidth.RuneWidth()} function.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Executables:
|
;;; Executables:
|
||||||
;;;
|
;;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue