summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2025-06-02 12:16:54 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-17 15:17:17 +0200
commitc2cda0b46d4790d2267236b44b534e7b8ecddc6d (patch)
tree4db8a8b4f06802370a2b926b6bbc7749b211dfac /gnu/packages/golang-xyz.scm
parent00f7571e9b91901827026f704d05f33ab5f17b04 (diff)
gnu: Add go-connectrpc-com-connect.
* gnu/packages/golang-xyz.scm (go-connectrpc-com-connect): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I9bab8f359cafc458900ccf3832d2ad325ec480b4
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0a3632b21a..df502d4963 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -63,6 +63,8 @@
;;; Copyright © 2025 45mg <45mg.writes@gmail.com>
;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch>
;;; Copyright © 2025 Formbi <formbi@protonmail.com>
+;;; Copyright © 2025 David Thompson <davet@gnu.org>
+;;; Copyright © 2025 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20231,6 +20233,38 @@ library.")
" This package provides an command line interface (CLI)
tool."))))
+(define-public go-connectrpc-com-connect
+ (package
+ (name "go-connectrpc-com-connect")
+ (version "1.18.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/connectrpc/connect-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a6rzp57srhyf66jri62gfsj4ndpfxgb9ln15qdpfwv0xvcffz63"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "connectrpc.com/connect"
+ ;; Needs additional dependencies..
+ #:tests? #f))
+ (propagated-inputs (list go-google-golang-org-protobuf
+ go-golang-org-x-net
+ go-github-com-google-go-cmp))
+ (home-page "https://connectrpc.com/connect")
+ (synopsis "@acronym{RPC, Remote procedure call} framework built on
+Protocol Buffers")
+ (description
+ "Package @code{connect} is a slim RPC framework built on Protocol Buffers
+and @code{net/http}. In addition to supporting its own protocol, Connect
+handlers and clients are wire-compatible with gRPC and gRPC-Web, including
+streaming.")
+ (license license:asl2.0)))
+
(define-public go-csv2table
(package/inherit go-github-com-olekukonko-tablewriter
(name "go-csv2table")