guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 25c3d8c56463af9da756c35a4b49d5851d83c516
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Feb 9 08:22:18 2026 +0000

    gnu: Add go-github-com-erikstmartin-go-testdb.
    
    * gnu/packages/golang-check.scm (go-github-com-erikstmartin-go-testdb): New 
variable.
    
    Change-Id: Ie84e5846274db0dcf52101e26410bdf624bc687f
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 7f094fb47e..a51c495acc 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -792,6 +792,33 @@ of 2 JSON-able and convertible to 
@code{map[string]interface{}} objects.
 Useful for diagnostics or debugging")
     (license license:expat)))
 
+(define-public go-github-com-erikstmartin-go-testdb
+  (package
+    (name "go-github-com-erikstmartin-go-testdb")
+    (version "0.0.0-20160219214506-8d10e4a1bae5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/erikstmartin/go-testdb";)
+              (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1fhrqcpv8x74qwxx9gpnhgqbz5wkp2bnsq92w418l1fnrgh4ppmq"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/erikstmartin/go-testdb"))
+    (home-page "https://github.com/erikstmartin/go-testdb";)
+    (synopsis "Go framework for stubbing responses")
+    (description
+     "This package implements a framework for stubbing responses from Go's
+@code{driver.Driver} interface.
+
+This can be used to sit in place of your sql.Db so that you can stub responses
+for sql calls, and remove database dependencies for your test suite.")
+    (license license:bsd-2)))
+
 (define-public go-github-com-felixge-fgprof
   (package
     (name "go-github-com-felixge-fgprof")

Reply via email to