guix-commits
[Top][All Lists]
Advanced

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

126/223: gnu: go-github-com-operatorfoundation-shapeshifter-ipc: Simplif


From: guix-commits
Subject: 126/223: gnu: go-github-com-operatorfoundation-shapeshifter-ipc: Simplify.
Date: Sat, 15 Mar 2025 04:58:12 -0400 (EDT)

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

commit 231f4a5ee133b9550bdb60b59f219e1be69d7bf1
Author: Sharlatan Hellseher <sharlatanus@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

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