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

* gnu/packages/golang-xyz.scm (go-github-com-jackc-pgconn)
[arguments] <tests?>: Activate them.
<test-flags>: Skip 9 tests.
<phases>: Add 'remove-failing-test-file.
[native-inputs]: Add go-github-com-jackc-pgmock.
[propagated-inputs]: Remove go-github-com-jackc-pgmock.

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

Change-Id: Ice47b75770fb596734f6703c3c42dbfe3e91a7a6
This commit is contained in:
Sharlatan Hellseher 2024-12-19 13:00:10 +00:00
parent 5b2176105e
commit 74eea25303
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 35 additions and 4 deletions

View file

@ -704,6 +704,18 @@ used in go-github-com-jackc-pgx.")
"This package implements a functionality to mock a PostgreSQL server.")
(license license:expat)))
(define-public go-github-com-jackc-pgmock-bootstrap
(hidden-package
(package
(inherit go-github-com-jackc-pgmock)
(arguments
(list #:tests? #f
#:import-path "github.com/jackc/pgmock"
#:phases
#~(modify-phases %standard-phases
(delete 'build))))
(native-inputs '()))))
(define-public go-github-com-jacobsa-oglematchers
(package
(name "go-github-com-jacobsa-oglematchers")