summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2024-12-12 23:01:03 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:41:54 +0000
commit9a1578a888eafe45d4db1f75cfb4b3c267934419 (patch)
treec9621d8b23e5d8e6ce72f6b0235352f303cf1cb8 /gnu/packages/golang-check.scm
parent18f200b233e77b7656c0e0bfac14f5902f22022a (diff)
gnu: Add go-pgmockproxy.
* gnu/packages/golang-check.scm (go-pgmockproxy): New variable. Change-Id: I8778114b8ea6b2905594e3fb4cde6f98f2f61131
Diffstat (limited to 'gnu/packages/golang-check.scm')
-rw-r--r--gnu/packages/golang-check.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index ce1a38961a..f3646d6279 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)