guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/32: gnu: go-github-com-mesilliac-pulse-simple: Remove examples.


From: guix-commits
Subject: 04/32: gnu: go-github-com-mesilliac-pulse-simple: Remove examples.
Date: Mon, 19 Feb 2024 18:40:50 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 643900518d07144d7c1466e221cc02cc95dcf9b7
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sat Feb 17 12:08:09 2024 +0100

    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>
---
 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 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]