guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4f698914e57b0c90cd804e12b1113e741fcf5590
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jul 8 09:05:51 2025 +0100

    gnu: Add go-github-com-cowsql-go-cowsql.
    
    * gnu/packages/golang-xyz.scm (go-github-com-cowsql-go-cowsql): New 
variable.
    
    Change-Id: Iaf2ddb939e8d7da3bdbef609e960013b8e20376a
---
 gnu/packages/golang-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 400b5c8f40..9ea0cbbd67 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4144,6 +4144,48 @@ submodules:
      "This package provides memcache client and server functionality.")
     (license license:expat)))
 
+(define-public go-github-com-cowsql-go-cowsql
+  (package
+    (name "go-github-com-cowsql-go-cowsql")
+    (version "1.22.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/cowsql/go-cowsql";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0my26gndkzzhmkp5n4x2akc6h9572y4lpn9ryw7imdhd958mpjrx"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      ;; TODO: Package <https://github.com/cowsql/cowsql> for the full
+      ;; featured binding support, using as source only as a client code.
+      #:skip-build? #t
+      #:test-subdirs #~(list "logging")         ;minimal tests
+      #:import-path "github.com/cowsql/go-cowsql"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-google-renameio
+           go-github-com-mattn-go-sqlite3
+           go-github-com-peterh-liner
+           go-github-com-pkg-errors
+           go-github-com-rican7-retry
+           go-github-com-spf13-cobra
+           go-golang-org-x-sync
+           go-golang-org-x-sys
+           go-gopkg-in-yaml-v2))
+    (home-page "https://github.com/cowsql/go-cowsql";)
+    (synopsis "Golang bindings for libcowsql")
+    (description
+     "This package provides bindings for the @url{cowsql,
+https://github.com/cowsql/cowsql} C library and a pure Golang client for the
+@url{cowsql wire protocol,
+https://github.com/cowsql/cowsql/blob/main/doc/protocol.md}.";)
+    (license license:asl2.0)))
+
 (define-public go-github-com-crackcomm-go-gitignore
   (package
     (name "go-github-com-crackcomm-go-gitignore")

Reply via email to