From 643900518d07144d7c1466e221cc02cc95dcf9b7 Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Sat, 17 Feb 2024 12:08:09 +0100 Subject: 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 --- gnu/packages/golang.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit v1.2.3 =f9b6f75d1c387acbedfb27962d5dbd34bc3c1492'>treecommitdiff
AgeCommit message (Expand)Author