gnu: go-github-com-jackc-pgmock: Enable tests.

* gnu/packages/golang-check.scm (go-github-com-jackc-pgmock)
[arguments] <tests?>: Activate them.
[native-inputs]: Add go-github-com-jackc-pgconn-bootstrap and
go-github-com-stretchr-testify.

* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgconn-bootstrap):
New variable.

Change-Id: I8dc5cef1dcf7d6dd7550a1d805810d468205c607
This commit is contained in:
Sharlatan Hellseher 2024-12-19 13:07:28 +00:00
parent da6d33d74a
commit 5b2176105e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 15 additions and 1 deletions

View file

@ -5108,6 +5108,18 @@ queries with a higher level library and only use pgconn directly when required
for low-level access to PostgreSQL functionality.")
(license license:expat)))
(define-public go-github-com-jackc-pgconn-bootstrap
(hidden-package
(package
(inherit go-github-com-jackc-pgconn)
(arguments
(list #:tests? #f
#:import-path "github.com/jackc/pgconn"
#:phases
#~(modify-phases %standard-phases
(delete 'build))))
(native-inputs '()))))
(define-public go-github-com-jackc-pgerrcode
(package
(name "go-github-com-jackc-pgerrcode")