guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: go-github-com-signintech-gopdf: Remove examples.


From: guix-commits
Subject: 09/09: gnu: go-github-com-signintech-gopdf: Remove examples.
Date: Fri, 1 Mar 2024 01:19:18 -0500 (EST)

hako pushed a commit to branch master
in repository guix.

commit 9a47afb3de7a9845a1a7a1264a2068cf6f3a8617
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Mon Feb 26 08:51:00 2024 +0100

    gnu: go-github-com-signintech-gopdf: Remove examples.
    
    * gnu/packages/golang.scm (go-github-com-signintech-gopdf): Remove examples.
    [arguments] <#:phases>: Add remove-examples phase.
    
    Signed-off-by: Hilton Chain <hako@ultrarare.space>
    Change-Id: I0a285c30856d3b22fa8abdbe71e1f0e149dae082
---
 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 ac500b58af..0bcd231a93 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2250,7 +2250,13 @@ TrueType font files in your system's user and system 
font directories.")
                 "1h6cslvid5v8fiymydj4irrzi8f91knsx8rgbzp2b8favclhwxxg"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/signintech/gopdf"))
+     (list
+      #:import-path "github.com/signintech/gopdf"
+      #: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")))))))
     (propagated-inputs (list go-github-com-pkg-errors
                              go-github-com-phpdave11-gofpdi))
     (home-page "https://github.com/signintech/gopdf";)



reply via email to

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