* [bug#69045] [PATCH] gnu: go-github-com-avast-retry-go: Remove examples. @ 2024-02-11 11:03 Troy Figiel 2024-02-11 11:03 ` [bug#69045] [PATCH v2] " Troy Figiel 2024-02-13 21:39 ` bug#69045: [PATCH] " Sharlatan Hellseher 0 siblings, 2 replies; 3+ messages in thread From: Troy Figiel @ 2024-02-11 11:03 UTC (permalink / raw) To: 69045 * gnu/packages/golang.scm (go-github-com-avast-retry-go)[source]: Remove examples. --- gnu/packages/golang.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 163691a1e6..888dacde2e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1259,7 +1259,9 @@ (define-public go-github-com-avast-retry-go (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba")))) + (base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba")) + (modules '((guix build utils))) + (snippet '(delete-file-recursively "examples")))) (build-system go-build-system) (arguments `(#:import-path "github.com/avast/retry-go")) (propagated-inputs (list go-github-com-stretchr-testify)) base-commit: b6439fc5f800b5d22d48192bc347be794f050329 -- 2.42.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#69045] [PATCH v2] gnu: go-github-com-avast-retry-go: Remove examples. 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 2024-02-13 21:39 ` bug#69045: [PATCH] " Sharlatan Hellseher 1 sibling, 0 replies; 3+ messages in thread From: Troy Figiel @ 2024-02-11 11:03 UTC (permalink / raw) To: 69045 * 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 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#69045: [PATCH] gnu: go-github-com-avast-retry-go: Remove examples. 2024-02-11 11:03 [bug#69045] [PATCH] gnu: go-github-com-avast-retry-go: Remove examples Troy Figiel 2024-02-11 11:03 ` [bug#69045] [PATCH v2] " Troy Figiel @ 2024-02-13 21:39 ` Sharlatan Hellseher 1 sibling, 0 replies; 3+ messages in thread From: Sharlatan Hellseher @ 2024-02-13 21:39 UTC (permalink / raw) To: 69045-done [-- Attachment #1: Type: text/plain, Size: 77 bytes --] Hi, Pushed as 2525b168f98066c1400783c1f350c90ec1259a76 to master. -- Oleg [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-13 21:41 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-02-11 11:03 [bug#69045] [PATCH] gnu: go-github-com-avast-retry-go: Remove examples Troy Figiel 2024-02-11 11:03 ` [bug#69045] [PATCH v2] " Troy Figiel 2024-02-13 21:39 ` bug#69045: [PATCH] " Sharlatan Hellseher
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).