diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-10 22:13:53 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:41:51 +0000 |
commit | b7997a58d789159cbb11a59c6737a730144acf82 (patch) | |
tree | 833e4c8c5a980de42a0fd100ecfdb879ef8451e2 | |
parent | f363abc15d16153bc507481822ccb2195b0ae94d (diff) |
gnu: Add protoc-gen-go.
* gnu/packages/golang-build.scm (protoc-gen-go): New variable.
Change-Id: I09bf1a7a4d42aab8787acb5476cebb00aad0bb40
-rw-r--r-- | gnu/packages/golang-build.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index 51801e8ea9..4a87a4b61a 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -1108,6 +1108,18 @@ improved and cleaner API.") #:import-path "golang.org/x/vuln/cmd/govulncheck" #:unpack-path "golang.org/x/vuln")))) +(define-public protoc-gen-go + (package + (inherit go-github-com-golang-protobuf) + (name "protoc-gen-go") + (arguments + (list + #:tests? #f + #:install-source? #f + #:import-path "github.com/golang/protobuf/protoc-gen-go" + #:unpack-path "github.com/golang/protobuf")) + (synopsis "Protoc plugin to generate a Go protocol buffer package"))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar |