diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-16 22:26:14 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-16 22:30:37 +0100 |
| commit | 0542ea46365d2dcbeba4e723fee4130f223415fa (patch) | |
| tree | 4a7af66eff74677a010857b9ee495a50a82cbb32 | |
| parent | a62fed6c005d8106a526d473702c1baef4ad13a9 (diff) | |
gnu: nebula: Simplify packaging.
* gnu/packages/networking.scm (nebula): Update to 1.11.0.
[arguments] <unpack-path, import-path>: Provide relative import path to
build all commands recursively from "cmd" and use default 'check phase.
<phases>: Use default 'build phase..
[inputs]: Move from here ...
[native-inputs]: ... to here.
| -rw-r--r-- | gnu/packages/networking.scm | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 50c5402d3cd..d603d626cb6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm | |||
| @@ -5176,23 +5176,11 @@ daemon.") | |||
| 5176 | (arguments | 5176 | (arguments |
| 5177 | (list | 5177 | (list |
| 5178 | #:install-source? #f | 5178 | #:install-source? #f |
| 5179 | #:import-path "github.com/slackhq/nebula" | 5179 | #:import-path "github.com/slackhq/nebula/..." |
| 5180 | #:unpack-path "github.com/slackhq/nebula" | ||
| 5180 | #:build-flags | 5181 | #:build-flags |
| 5181 | #~(list (format #f "-ldflags=-X main.Build=~a" #$version)) | 5182 | #~(list (format #f "-ldflags=-X main.Build=~a" #$version)))) |
| 5182 | #:phases | 5183 | (native-inputs |
| 5183 | #~(modify-phases %standard-phases | ||
| 5184 | (replace 'build | ||
| 5185 | (lambda* (#:key import-path #:allow-other-keys #:rest arguments) | ||
| 5186 | (for-each | ||
| 5187 | (lambda (cmd) | ||
| 5188 | (apply (assoc-ref %standard-phases 'build) | ||
| 5189 | `(,@arguments #:import-path | ||
| 5190 | ,(string-append import-path "/cmd/" cmd)))) | ||
| 5191 | (list "nebula" | ||
| 5192 | "nebula-service" | ||
| 5193 | "nebula-cert"))))))) | ||
| 5194 | (native-inputs (list go-github-com-stretchr-testify)) | ||
| 5195 | (inputs | ||
| 5196 | (list go-dario-cat-mergo | 5184 | (list go-dario-cat-mergo |
| 5197 | go-filippo-io-bigmod | 5185 | go-filippo-io-bigmod |
| 5198 | go-github-com-anmitsu-go-shlex | 5186 | go-github-com-anmitsu-go-shlex |
| @@ -5211,6 +5199,7 @@ daemon.") | |||
| 5211 | go-github-com-sirupsen-logrus | 5199 | go-github-com-sirupsen-logrus |
| 5212 | go-github-com-skip2-go-qrcode | 5200 | go-github-com-skip2-go-qrcode |
| 5213 | go-github-com-stefanberger-go-pkcs11uri | 5201 | go-github-com-stefanberger-go-pkcs11uri |
| 5202 | go-github-com-stretchr-testify | ||
| 5214 | go-github-com-vishvananda-netlink | 5203 | go-github-com-vishvananda-netlink |
| 5215 | go-go-yaml-in-yaml-v3 | 5204 | go-go-yaml-in-yaml-v3 |
| 5216 | go-golang-org-x-crypto | 5205 | go-golang-org-x-crypto |
