From: Troy Figiel <troy@troyfigiel.com>
To: 69043@debbugs.gnu.org
Subject: [bug#69043] [PATCH v2] gnu: go-github-com-charmbracelet-bubbletea: Remove examples.
Date: Sun, 11 Feb 2024 01:24:12 +0100 [thread overview]
Message-ID: <87a5o79bpp.fsf@troyfigiel.com> (raw)
In-Reply-To: <87ttmf9tj0.fsf@troyfigiel.com>
* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Remove
examples and tutorials.
[arguments]<#:phases>: Add remove-examples phase.
---
gnu/packages/golang.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 163691a1e6..734db8ca30 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10446,7 +10446,14 @@ (define-public go-github-com-charmbracelet-bubbletea
"1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
(build-system go-build-system)
(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
`(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b
--
2.42.0
next prev parent reply other threads:[~2024-02-11 17:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-11 0:24 [bug#69043] [PATCH] gnu: go-github-com-charmbracelet-bubbletea: Delete examples Troy Figiel
2024-02-11 0:24 ` Troy Figiel [this message]
2024-02-11 10:50 ` Troy Figiel
2024-02-11 11:26 ` Troy Figiel
2024-02-11 14:24 ` Hilton Chain via Guix-patches via
2024-02-11 16:44 ` Troy Figiel
2024-02-13 21:41 ` bug#69043: " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5o79bpp.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=69043@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.