guix-commits
[Top][All Lists]
Advanced

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

142/401: gnu: Add go-github-com-jackc-pgerrcode.


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

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

commit 6216338966c44acc3c2c24eb0e206785a9fd14f7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Dec 14 13:26:50 2024 +0000

    gnu: Add go-github-com-jackc-pgerrcode.
    
    * gnu/packages/golang-xyz.scm (go-github-com-jackc-pgerrcode): New variable.
    
    Change-Id: I91be89a09b50110255b67d57b65d4a362287d82b
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ee9a571620..e60b649386 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4906,6 +4906,30 @@ 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-pgerrcode
+  (package
+    (name "go-github-com-jackc-pgerrcode")
+    (version "0.0.0-20240316143900-6e2875d9b438")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jackc/pgerrcode";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00csrjkg8fg97q5wy4r2wqi88w7g1cj0f5xkp5442nz3agmkxgrj"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jackc/pgerrcode"))
+    (home-page "https://github.com/jackc/pgerrcode";)
+    (synopsis "Constants for PostgreSQL error codes")
+    (description
+     "Package pgerrcode contains constants for @code{PostgreSQL} error
+codes.")
+    (license license:expat)))
+
 (define-public go-github-com-jackc-pgio
   (package
     (name "go-github-com-jackc-pgio")



reply via email to

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