mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-charmbracelet-x-ansi: Update to 0.10.1.
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-ansi): Update to 0.10.1. [source] <snippet>: Keep just current package source. [propagated-inputs]: Add go-github-com-bits-and-blooms-bitset and go-github-com-mattn-go-runewidth. Change-Id: I5ff71cee36325192d8ac9a46e3ca770b3eb06a5b
This commit is contained in:
parent
7d5a852e91
commit
10f52ccbcd
1 changed files with 20 additions and 6 deletions
|
@ -3394,7 +3394,7 @@ glamorous default themes.")
|
||||||
(define-public go-github-com-charmbracelet-x-ansi
|
(define-public go-github-com-charmbracelet-x-ansi
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-charmbracelet-x-ansi")
|
(name "go-github-com-charmbracelet-x-ansi")
|
||||||
(version "0.6.0")
|
(version "0.10.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -3404,14 +3404,28 @@ glamorous default themes.")
|
||||||
#:subdir "ansi"))))
|
#:subdir "ansi"))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0y76a1zqj2ccyqibh4xk47hyw8grwrf5j3qm2j0pzd2yn592dny5"))))
|
(base32 "083zj3yqb48li8w389iabi1b1zklbw7cwam2grvvglcqrrsj3bsf"))
|
||||||
|
(modules '((guix build utils)
|
||||||
|
(ice-9 ftw)
|
||||||
|
(srfi srfi-26)))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(define (delete-all-but directory . preserve)
|
||||||
|
(with-directory-excursion directory
|
||||||
|
(let* ((pred (negate (cut member <>
|
||||||
|
(cons* "." ".." preserve))))
|
||||||
|
(items (scandir "." pred)))
|
||||||
|
(for-each (cut delete-file-recursively <>) items))))
|
||||||
|
(delete-all-but "." "ansi")))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/charmbracelet/x/ansi"
|
#:import-path "github.com/charmbracelet/x/ansi"
|
||||||
#:unpack-path "github.com/charmbracelet/x"))
|
#:unpack-path "github.com/charmbracelet/x"))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list go-github-com-lucasb-eyer-go-colorful
|
(list go-github-com-bits-and-blooms-bitset
|
||||||
|
go-github-com-lucasb-eyer-go-colorful
|
||||||
|
go-github-com-mattn-go-runewidth
|
||||||
go-github-com-rivo-uniseg))
|
go-github-com-rivo-uniseg))
|
||||||
(home-page "https://github.com/charmbracelet/x")
|
(home-page "https://github.com/charmbracelet/x")
|
||||||
(synopsis "ANSI escape sequence parser and definitions")
|
(synopsis "ANSI escape sequence parser and definitions")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue