summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTroy Figiel <troy@troyfigiel.com>2024-02-17 12:08:09 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-19 23:19:21 +0000
commit643900518d07144d7c1466e221cc02cc95dcf9b7 (patch)
tree21837dad329f424ec3b301117ebb33e360ae2c9a /gnu
parent1822ec7e799847f24ad9f7a4410b57646011a18f (diff)
gnu: go-github-com-mesilliac-pulse-simple: Remove examples.
* gnu/packages/golang.scm (go-github-com-mesilliac-pulse-simple): Remove examples. [arguments] <#:phases>: Add remove-examples phase. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 822534b41d..d95569cca1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9071,7 +9071,13 @@ sinks and sources.")
(propagated-inputs
(list pkg-config pulseaudio))
(arguments
- '(#:import-path "github.com/mesilliac/pulse-simple"))
+ (list
+ #:import-path "github.com/mesilliac/pulse-simple"
+ #: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/mesilliac/pulse-simple")
(synopsis "Cgo bindings to PulseAudio's Simple API")
(description