unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69224] [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
@ 2024-02-17 10:17 Troy Figiel
  2024-02-19 23:46 ` bug#69224: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-02-17 10:17 UTC (permalink / raw)
  To: 69224

* gnu/packages/golang.scm (go-github-com-charmbracelet-harmonica): 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..3394b8e127 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7872,7 +7872,13 @@ (define-public go-github-com-charmbracelet-harmonica
         (base32 "1aasg0c0xxhwav4ivm1mqmsqab6lk407xky8c19pb85r1hdbq0n7"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/charmbracelet/harmonica"))
+     (list
+      #:import-path "github.com/charmbracelet/harmonica"
+      #: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/charmbracelet/harmonica")
     (synopsis "Simple, physics-based animation library")
     (description

base-commit: 91d80460296e2d5a01704d0f34fb966a45a165ae
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69224: [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples.
  2024-02-17 10:17 [bug#69224] [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples Troy Figiel
@ 2024-02-19 23:46 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-02-19 23:46 UTC (permalink / raw)
  To: 69224-done

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


Hi,

Pushed as 8abb1e59fd93b4ff81326aa18b5f309d87b0a200 to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-19 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 10:17 [bug#69224] [PATCH] gnu: go-github-com-charmbracelet-harmonica: Remove examples Troy Figiel
2024-02-19 23:46 ` bug#69224: " 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).