diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 00:11:26 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 17:47:17 +0100 |
commit | ab59f3b2a42b09eefd685829cddcec01838d0726 (patch) | |
tree | 580eb58e2607fa55e1b8d2d2f93505fd11a823bc /battering/packages/golang-xyz.scm | |
parent | 72e94a3dd8897eb4956ac1ec937b2c048602da7b (diff) |
battering: Add go-google-golang-org-grpc-cmd-protoc-gen-go-grpc.
* battering/packages/golang-xyz.scm (go-google-golang-org-grpc-cmd-protoc-gen-go-grpc): New variable.
Diffstat (limited to 'battering/packages/golang-xyz.scm')
-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))) |