summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-12 21:23:53 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-07-23 21:14:57 +0100
commitf23d19f64e9d3ca6836d69510d54341a047c92f0 (patch)
treecc59c973b7e6b6fd7dc3d5838880f5da7ebb011b /gnu
parent08b87ebf7e05483af408086d8ea4cb4cc9ed4d2e (diff)
gnu: go-github-com-golang-protobuf: Improve package.
* gnu/packages/golang-build.scm (go-github-com-golang-protobuf): [arguments] <skip-build?>: Utilize parameter instead of deleting {build} phase. Change-Id: I6e9acdc58ce0885a88821c771b64437a90041289
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-build.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 021948b5cfb..5cc3f3af0d6 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -258,18 +258,16 @@ functions that have a name matched by regex:.")
258 (origin 258 (origin
259 (method git-fetch) 259 (method git-fetch)
260 (uri (git-reference 260 (uri (git-reference
261 (url "https://github.com/golang/protobuf") 261 (url "https://github.com/golang/protobuf")
262 (commit (string-append "v" version)))) 262 (commit (string-append "v" version))))
263 (file-name (git-file-name name version)) 263 (file-name (git-file-name name version))
264 (sha256 264 (sha256
265 (base32 "1bk7sa9ymi87hd2fv9jamxnxb3qjriamf2nsm8avp6ka37mrkz01")))) 265 (base32 "1bk7sa9ymi87hd2fv9jamxnxb3qjriamf2nsm8avp6ka37mrkz01"))))
266 (build-system go-build-system) 266 (build-system go-build-system)
267 (arguments 267 (arguments
268 (list 268 (list
269 #:import-path "github.com/golang/protobuf" 269 #:skip-build? #t
270 #:phases 270 #:import-path "github.com/golang/protobuf"))
271 #~(modify-phases %standard-phases
272 (delete 'build)))) ; no go files in project's root
273 (native-inputs 271 (native-inputs
274 (list go-github-com-google-go-cmp)) 272 (list go-github-com-google-go-cmp))
275 (propagated-inputs 273 (propagated-inputs