From 4f698914e57b0c90cd804e12b1113e741fcf5590 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 8 Jul 2025 09:05:51 +0100 Subject: [PATCH] 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 400b5c8f4033a67ed2b672b5c3c3075333bab175..9ea0cbbd6783d583644343c403466760fa03b030 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 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")