diff options
-rw-r--r-- | battering/packages/golang-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm index fcf4c58..1e050d2 100644 --- a/battering/packages/golang-xyz.scm +++ b/battering/packages/golang-xyz.scm @@ -417,3 +417,34 @@ resources on various cloud platforms.") (synopsis "Golang gRPC implementation") (description "This package implements an RPC system called @code{gRPC}.") (license license:asl2.0))) + +(define-public go-google-golang-org-grpc-cmd-protoc-gen-go-grpc + (package + (name "go-google-golang-org-grpc-cmd-protoc-gen-go-grpc") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grpc/grpc-go") + (commit (go-version->git-ref version + #:subdir "cmd/protoc-gen-go-grpc")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yn1ir5y0wc91q95ngr3dlz2cyhp0wlb9l30hkw2cr34r38hq19w")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.23 + #:install-source? #f + #:import-path "google.golang.org/grpc/cmd/protoc-gen-go-grpc/" + #:unpack-path "google.golang.org/grpc")) + (propagated-inputs (list go-google-golang-org-protobuf)) + (native-inputs (list go-golang-org-x-net + go-google-golang-org-genproto)) + (home-page "https://google.golang.org/grpc") + (synopsis "Code generator for Go gRPC protobuf") + (description + "protoc-gen-go-grpc is a plugin for the Google protocol buffer compiler to +generate Go code.") + (license license:asl2.0))) |