gnu: Add go-github-com-jackc-pgmock.

* gnu/packages/golang-check.scm (go-github-com-jackc-pgmock): New variable.

Change-Id: Ibc0428a18cf6134a9843b5b845076172d9da3d2c
This commit is contained in:
Sharlatan Hellseher 2024-12-12 23:01:13 +00:00
parent 0a023cb0a0
commit 77f5837863
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -584,6 +584,32 @@ (define-public go-github-com-hexops-gotextdiff
"This package provides a library to generate unified diffs.")
(license license:bsd-3)))
(define-public go-github-com-jackc-pgmock
(package
(name "go-github-com-jackc-pgmock")
(version "0.0.0-20210724152146-4ad1a8207f65")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jackc/pgmock")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "189hp5fkvavwgg7z0z9b9xj88ypsphvb7s4dpwa5aj42jm39nqha"))))
(build-system go-build-system)
(arguments
(list
#:tests? #f ; cycles with go-github-com-jackc-pgconn
#:import-path "github.com/jackc/pgmock"))
(propagated-inputs
(list go-github-com-jackc-pgproto3-v2))
(home-page "https://github.com/jackc/pgmock")
(synopsis "PostgreSQL server mocking library")
(description
"This package implements a functionality to mock a PostgreSQL server.")
(license license:expat)))
(define-public go-github-com-jacobsa-oglematchers
(let ((commit "141901ea67cd4769c6800aa7bfdfc558fa22bda5")
(revision "0"))