From: Troy Figiel <troy@troyfigiel.com>
To: 69045@debbugs.gnu.org
Subject: [bug#69045] [PATCH v2] gnu: go-github-com-avast-retry-go: Remove examples.
Date: Sun, 11 Feb 2024 12:03:56 +0100 [thread overview]
Message-ID: <8734txcrwk.fsf@troyfigiel.com> (raw)
In-Reply-To: <87plx39s11.fsf@troyfigiel.com>
* gnu/packages/golang.scm (go-github-com-avast-retry-go): Remove examples.
[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..7a89afb27a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1261,7 +1261,14 @@ (define-public go-github-com-avast-retry-go
(sha256
(base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba"))))
(build-system go-build-system)
- (arguments `(#:import-path "github.com/avast/retry-go"))
+ (arguments
+ (list
+ #:import-path "github.com/avast/retry-go"
+ #: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")))))))
(propagated-inputs (list go-github-com-stretchr-testify))
(home-page "https://github.com/avast/retry-go")
(synopsis "Simple golang library for retry mechanism")
base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b
--
2.42.0
next prev parent reply other threads:[~2024-02-12 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-11 11:03 [bug#69045] [PATCH] gnu: go-github-com-avast-retry-go: Remove examples Troy Figiel
2024-02-11 11:03 ` Troy Figiel [this message]
2024-02-13 21:39 ` bug#69045: " 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=8734txcrwk.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=69045@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.