From e9edbc6611c063aaf8216c9c60c3337c4ab7188d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 14 Dec 2024 13:07:42 +0000 Subject: [PATCH] gnu: Add go-github-com-jackc-pgx-v5. * gnu/packages/golang-xyz.scm (go-github-com-jackc-pgx-v5): New variable. Change-Id: Ia7a83221845b02bd338b7f3b310eb9b4b8462479 --- gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 2eb9313682..6a414c7ce4 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5184,6 +5184,37 @@ (define-public go-github-com-jackc-pgx-v4-bootstrap (native-inputs '()) (propagated-inputs '())))) +(define-public go-github-com-jackc-pgx-v5 + (package + (inherit go-github-com-jackc-pgx-v4) + (name "go-github-com-jackc-pgx-v5") + (version "5.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jackc/pgx") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0b8wgqax34q77m4pmaaqlp9dr1x9mam76jx7ah1sxdldl737rv27")))) + (build-system go-build-system) + (arguments + (substitute-keyword-arguments + (package-arguments go-github-com-jackc-pgx-v4) + ((#:import-path _) "github.com/jackc/pgx/v5") + ((#:test-subdirs _) + #~(list "internal/..." + "log/..." + "multitracer")))) + (propagated-inputs + (list go-github-com-jackc-pgpassfile + go-github-com-jackc-pgservicefile + go-github-com-jackc-puddle-v2 + go-golang-org-x-crypto + go-golang-org-x-sync + go-golang-org-x-text)))) + (define-public go-github-com-jackc-puddle (package (name "go-github-com-jackc-puddle")