summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-22 08:38:00 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:17 +0100
commitb693b01112f68d7b7196befc3ee31f0d85a898a2 (patch)
tree075648ba15105822d5ff4a192b662cd9a6edcfce
parent640b0a73171b268cb80c33fe7be81b752a75b487 (diff)
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
-rw-r--r--gnu/packages/golang.scm35
1 files 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