gnu: go-github-com-charmbracelet-harmonica: Remove examples.

* gnu/packages/golang.scm (go-github-com-charmbracelet-harmonica): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Troy Figiel 2024-02-17 11:17:46 +01:00 committed by Sharlatan Hellseher
parent a72487a9ea
commit 8abb1e59fd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7895,7 +7895,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