From: Troy Figiel <troy@troyfigiel.com>
To: 69193@debbugs.gnu.org
Subject: [bug#69193] [PATCH] gnu: go-github-com-mesilliac-pulse-simple: Remove examples.
Date: Sat, 17 Feb 2024 12:08:09 +0100 [thread overview]
Message-ID: <87bk8fbaze.fsf@troyfigiel.com> (raw)
* gnu/packages/golang.scm (go-github-com-mesilliac-pulse-simple): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.
---
gnu/packages/golang.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 527b63d160..7b51ecc41a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9042,7 +9042,13 @@ (define-public go-github-com-mesilliac-pulse-simple
(propagated-inputs
(list pkg-config pulseaudio))
(arguments
- '(#:import-path "github.com/mesilliac/pulse-simple"))
+ (list
+ #:import-path "github.com/mesilliac/pulse-simple"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/examples")))))))
(home-page "https://github.com/mesilliac/pulse-simple")
(synopsis "Cgo bindings to PulseAudio's Simple API")
(description
base-commit: 91d80460296e2d5a01704d0f34fb966a45a165ae
--
2.42.0
next reply other threads:[~2024-02-18 18:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 11:08 Troy Figiel [this message]
2024-02-19 23:52 ` bug#69193: [PATCH] gnu: go-github-com-mesilliac-pulse-simple: Remove examples 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=87bk8fbaze.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=69193@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.