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

commit 976c0cea467fdac4fd3e63b4db577f9678041ea7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Feb 9 08:22:06 2026 +0000

    gnu: Add go-github-com-ziutek-mymysql.
    
    * gnu/packages/golang-xyz.scm (go-github-com-ziutek-mymysql): New variable.
    
    Change-Id: Ib2e4e3a56546c7070758b2e8e80ce166488776fa
---
 gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c0d2731192..f4ecc59513 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -25786,6 +25786,39 @@ It is a maintained fork of @url{gorilla/schema,
 https://github.com/gorilla/schema}";)
     (license license:bsd-3)))
 
+(define-public go-github-com-ziutek-mymysql
+  (package
+    (name "go-github-com-ziutek-mymysql")
+    (version "1.5.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ziutek/mymysql";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "172s7sv5bgc40x81k18hypf9c4n8hn9v5w5zwyr4mi5prbavqcci"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f ;XXX: running MySQL server is required
+      #:skip-build? #t
+      #:import-path "github.com/ziutek/mymysql"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (delete-file-recursively "examples")))))))
+    (home-page "https://github.com/ziutek/mymysql";)
+    (synopsis " MySQL Client API for Golang")
+    (description
+     "This package provides a MySQL client API written entirely in Go.  It is
+designed to work with the MySQL protocol version 4.1 or greater.  It definitely
+works well with MySQL server version 5.0 and 5.1.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-zk-org-pretty
   (package
     (name "go-github-com-zk-org-pretty")

Reply via email to