sharlatan pushed a commit to branch go-team
in repository guix.

commit 9af2e64058686ab4a327b655417ef0028c7508f0
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Feb 22 08:38:00 2025 +0000

    gnu: go-github-com-operatorfoundation-shapeshifter-ipc: Simplify.
    
    * gnu/packages/golang.scm 
(go-github-com-operatorfoundation-shapeshifter-ipc)
    [arguments] <skip-build?>: No go files in project's root.
    <phases>: Use default 'build, 'check, and 'install.
    
    Change-Id: Ic95ce653add46e37f0c3291f2494d282c2dd592b
---
 gnu/packages/golang.scm | 35 ++++-------------------------------
 1 file changed, 4 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index dc4b705621..64675b9f5b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1224,37 +1224,10 @@ networks where it would otherwise be blocked or heavily 
throttled.")
         (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg"))))
     (build-system go-build-system)
     (arguments
-     `(#:tests? #f                      ; ERROR: undefined: Args.
-       #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc"
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'build
-           (lambda arguments
-             (for-each
-              (lambda (directory)
-                (apply (assoc-ref %standard-phases 'build)
-                       `(,@arguments #:import-path ,directory)))
-              (list
-               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
-               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
-         (replace 'check
-           (lambda arguments
-             (for-each
-              (lambda (directory)
-                (apply (assoc-ref %standard-phases 'check)
-                       `(,@arguments #:import-path ,directory)))
-              (list
-               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
-               "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))
-         (replace 'install
-           (lambda arguments
-             (for-each
-              (lambda (directory)
-                (apply (assoc-ref %standard-phases 'install)
-                       `(,@arguments #:import-path ,directory)))
-              (list
-               "github.com/OperatorFoundation/shapeshifter-ipc/v2"
-               "github.com/OperatorFoundation/shapeshifter-ipc/v3")))))))
+     (list
+      #:skip-build? #t
+      #:tests? #f ; all tests fail with error: undefined: Args.
+      #:import-path "github.com/OperatorFoundation/shapeshifter-ipc"))
     (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc";)
     (synopsis "Go implementation of the Pluggable Transports IPC protocol")
     (description "Shapeshifter-IPC is a library for Go implementing the IPC

Reply via email to