guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 065114517569628fd9888c5547a81fb083a4ae05
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 24 09:18:28 2026 +0000

    gnu: go-pgmockproxy: Switch to package/inherit.
    
    * gnu/packages/golang-check.scm (go-pgmockproxy): Switch to package/inherit.
    [arguments]: Inherit instead of overwrite.
    [native-inputs]: Move all native and propagated inputs here.
    [propagated-inputs, inputs]: Drop all.
    [description]: Apply some Txinfo styling.
    
    Change-Id: I15fd4996a70ee9db38065f414fc107dce98f5226
---
 gnu/packages/golang-check.scm | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 30a58d0e33..5ad564b33d 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -3738,20 +3738,26 @@ thoroughly
 tool."))))
 
 (define-public go-pgmockproxy
-  (package
-    (inherit go-github-com-jackc-pgmock)
+  (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.")))
+     (substitute-keyword-arguments
+         (package-arguments go-github-com-jackc-pgmock)
+       ((#:tests? _ #t) #f)
+       ((#:install-source? _ #t) #f)
+       ((#:import-path _) "github.com/jackc/pgmock/pgmockproxy")
+       ((#:unpack-path _ "") "github.com/jackc/pgmock")))
+    (native-inputs
+     (append (package-native-inputs go-github-com-jackc-pgmock)
+             (package-propagated-inputs go-github-com-jackc-pgmock)))
+    (propagated-inputs '())
+    (inputs '())
+    (description
+     "@code{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

Reply via email to