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

* [bug#43787] [PATCH 2/3] gnu: Add go-github-com-jmespath-go-jmespath.
  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 ` 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
  1 sibling, 1 reply; 4+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-10-04  5:22 UTC (permalink / raw)
  To: 43787

* gnu/packages/golang.scm (go-github-com-jmespath-go-jmespath): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index dfaaba47c3..ed822c53a0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4886,6 +4886,34 @@ the parse trees produced by the html package.")
 to jQuery to the Go language.")
     (license license:bsd-3)))
 
+(define-public go-github-com-jmespath-go-jmespath
+  (package
+    (name "go-github-com-jmespath-go-jmespath")
+    (version "0.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jmespath/go-jmespath")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/jmespath/go-jmespath"))
+    (native-inputs
+     `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
+       ("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
+       ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
+    (home-page "https://github.com/jmespath/go-jmespath")
+    (synopsis "Golang implementation of JMESPath")
+    (description
+     "This package implements JMESPath, a query language for JSON.  It
+transforms one JSON document into another through a JMESPath expression.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-aymerick-douceur
   (package
     (name "go-github-com-aymerick-douceur")
-- 
2.17.1






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

* bug#43786: Close duplicate
  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 ` Ryan Prior via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-10-04  5:34 UTC (permalink / raw)
  To: 43786-close@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 18 bytes --]

Duplicate of 43785

[-- Attachment #2: Type: text/html, Size: 305 bytes --]

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

* bug#43787: Close duplicate
  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   ` Ryan Prior via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-10-04  5:34 UTC (permalink / raw)
  To: 43787-close@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 19 bytes --]

Duplicate of 43785.

[-- Attachment #2: Type: text/html, Size: 306 bytes --]

^ permalink raw reply	[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).