[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/16: gnu: go-github-com-avast-retry-go: Remove examples.
From: |
guix-commits |
Subject: |
08/16: gnu: go-github-com-avast-retry-go: Remove examples. |
Date: |
Tue, 13 Feb 2024 16:27:31 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 2525b168f98066c1400783c1f350c90ec1259a76
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sun Feb 11 12:03:56 2024 +0100
gnu: go-github-com-avast-retry-go: Remove examples.
* gnu/packages/golang.scm (go-github-com-avast-retry-go): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I20107aa3c77add0f5645f8f3be5ca45de9ab1ed9
---
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 7daeaa1c86..50a73a1ae3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1264,7 +1264,14 @@ cluster segmentation algorithm.")
(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")
- branch master updated (6ebe912b55 -> ac470c516e), guix-commits, 2024/02/13
- 01/16: gnu: go-github-com-macronut-go-tproxy: Remove examples., guix-commits, 2024/02/13
- 04/16: gnu: go-gopkg-in-djherbis-times-v1: Remove examples., guix-commits, 2024/02/13
- 11/16: gnu: go-github-com-playground-locales: Add missing input., guix-commits, 2024/02/13
- 02/16: gnu: go-golang-org-sql-mock: Remove examples., guix-commits, 2024/02/13
- 03/16: gnu: go-github-com-goccy-go-json: Remove benchmarks., guix-commits, 2024/02/13
- 05/16: gnu: go-github-com-cespare-xxhash: Remove benchmarks., guix-commits, 2024/02/13
- 07/16: gnu: go-github-com-goccy-yaml: Remove benchmarks., guix-commits, 2024/02/13
- 12/16: gnu: go-gotest-tools-assert: Add missing inputs., guix-commits, 2024/02/13
- 15/16: gnu: go-golang-org-x-oauth2: Add missing input., guix-commits, 2024/02/13
- 08/16: gnu: go-github-com-avast-retry-go: Remove examples.,
guix-commits <=
- 10/16: gnu: go-github-com-charmbracelet-bubbletea: Remove examples., guix-commits, 2024/02/13
- 06/16: gnu: go-github-com-oneofone-xxhash: Remove benchmarks., guix-commits, 2024/02/13
- 09/16: gnu: go-gopkg-in-mgo-v2: Add missing inputs., guix-commits, 2024/02/13
- 13/16: gnu: go-github-com-prometheus-procfs: Add missing input., guix-commits, 2024/02/13
- 14/16: gnu: go-github-com-twpayne-go-vfs: Add missing input., guix-commits, 2024/02/13
- 16/16: gnu: go-github-com-go-test-deep: Move to golang-check., guix-commits, 2024/02/13