unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43786] [PATCH 1/3] gnu: Add go-github-com-go-sql-driver-mysql.
@ 2020-10-04  5:22 Ryan Prior via Guix-patches via
  2020-10-04  5:22 ` [bug#43787] [PATCH 2/3] gnu: Add go-github-com-jmespath-go-jmespath Ryan Prior via Guix-patches via
  2020-10-04  5:34 ` bug#43786: " Ryan Prior via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-10-04  5:22 UTC (permalink / raw)
  To: 43786

* gnu/packages/golang.scm (go-github-com-go-sql-driver-mysql): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 001c864505..dfaaba47c3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3341,6 +3341,31 @@ without requiring a real database connection.")
       (home-page "https://github.com/DATA-DOG/go-sqlmock")
       (license license:expat))))
 
+(define-public go-github-com-go-sql-driver-mysql
+  (package
+    (name "go-github-com-go-sql-driver-mysql")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/go-sql-driver/mysql")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f ;; tests require a network connection
+       #:import-path "github.com/go-sql-driver/mysql"))
+    (home-page "https://github.com/go-sql-driver/mysql")
+    (synopsis "MySQL driver for golang")
+    (description
+     "This is a pure Go implementaton of the MySQL API, compatible with
+golang's database/sql package.")
+    (license license:mpl2.0)))
+
 (define-public go-golang-org-colorful
   (package
     (name "go-golang-org-colorful")
-- 
2.17.1






^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-04  5:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-04  5:22 [bug#43786] [PATCH 1/3] gnu: Add go-github-com-go-sql-driver-mysql Ryan Prior via Guix-patches via
2020-10-04  5:22 ` [bug#43787] [PATCH 2/3] gnu: Add go-github-com-jmespath-go-jmespath Ryan Prior via Guix-patches via
2020-10-04  5:34   ` bug#43787: Close duplicate Ryan Prior via Guix-patches via
2020-10-04  5:34 ` bug#43786: " Ryan Prior via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).