guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

141/401: gnu: Add go-github-com-jackc-pgx-v5.


From: guix-commits
Subject: 141/401: gnu: Add go-github-com-jackc-pgx-v5.
Date: Thu, 26 Dec 2024 19:30:46 -0500 (EST)

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

commit 5de995fc07186f7152b0f829aac1c9bb8d936c08
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Dec 14 13:07:42 2024 +0000

    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 e80393ca5b..ee9a571620 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5184,6 +5184,37 @@ more features.")
       (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]