sharlatan pushed a commit to branch go-team
in repository guix.
commit a2d37c23e3cbbe82b0dc9861ce96d6940bc9079d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Dec 12 23:01:03 2024 +0000
gnu: Add go-pgmockproxy.
* gnu/packages/golang-check.scm (go-pgmockproxy): New variable.
Change-Id: I8778114b8ea6b2905594e3fb4cde6f98f2f61131
---
gnu/packages/golang-check.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 562de03a2f..d641d988d7 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1751,6 +1751,22 @@ tool."))))
(description "This package turns unkeyed struct literals (@code{T{1, 2,
3}}) into keyed ones (@code{T{A: 1, B: 2, C: 3}}) in Go.")))
+(define-public go-pgmockproxy
+ (package
+ (inherit go-github-com-jackc-pgmock)
+ (name "go-pgmockproxy")
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/jackc/pgmock/pgmockproxy"
+ #:unpack-path "github.com/jackc/pgmock"))
+ (description
+ "pgmockproxy is a PostgreSQL proxy that logs the messages back and forth
+between the PostgreSQL client and server. This can aid in building a mocking
+script by running commands against a real server to observe the results. It
+can also be used to debug applications that speak the PostgreSQL wire protocol
+without needing to use a tool like Wireshark.")))
+
(define-public go-pprof
(package
(inherit go-github-com-google-pprof)