mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: go-github-com-charmbracelet-bubbletea: Remove examples.
* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Remove examples and tutorials. [arguments] <#:phases>: Add remove-examples phase. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: Ic4ed211ae0fa0849770264ccc950a73d55cd70c4
This commit is contained in:
parent
00e0071391
commit
14ea50518d
1 changed files with 8 additions and 1 deletions
|
@ -9707,7 +9707,14 @@ (define-public go-github-com-charmbracelet-bubbletea
|
||||||
"1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
|
"1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "github.com/charmbracelet/bubbletea"))
|
(list
|
||||||
|
#:import-path "github.com/charmbracelet/bubbletea"
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-examples
|
||||||
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
|
(for-each delete-file-recursively
|
||||||
|
'("examples" "tutorials"))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
|
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
|
||||||
("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
|
("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
|
||||||
|
|
Loading…
Reference in a new issue