unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 66627@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>
Subject: [bug#66627] [PATCH 18/19] gnu: go-golang-org-sql-mock: Move to (gnu packages golang-check).
Date: Thu, 19 Oct 2023 10:33:59 +0100	[thread overview]
Message-ID: <8ae71268e6de91f7c157e413c0ca90fa64ee009a.1697678664.git.sharlatanus@gmail.com> (raw)
Message-ID: <20231019093359.hJOpysmD_WCpgsPJVxgt_LocyDwxDzSwa-rd4t2Gy4s@z> (raw)
In-Reply-To: <cover.1697678664.git.sharlatanus@gmail.com>

* gnu/packages/golang-check.scm (go-golang-org-sql-mock): Move from
here...
* gnu/packages/golang.scm: ... to here.
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 gnu/packages/golang.scm       | 25 -------------------------
 2 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 56f412224e..8fc9d2fbc0 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
 ;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
@@ -458,6 +459,32 @@ (define-public go-gopkg-in-go-playground-assert-v1
 custom assertions to be used alongside native Go testing.")
     (license license:expat)))
 
+(define-public go-golang-org-sql-mock
+  (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
+        (version "1.3.3")
+        (revision "1"))
+    (package
+      (name "go-golang-org-sql-mock")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/DATA-DOG/go-sqlmock")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
+      (synopsis "Mock library implementing @code{sql/driver}")
+      (description "This library simulates SQL-driver behavior in tests
+without requiring a real database connection.")
+      (home-page "https://github.com/DATA-DOG/go-sqlmock")
+      (license license:expat))))
+
 (define-public go-golang-org-x-lint
   (let ((commit "83fdc39ff7b56453e3793356bcff3070b9b96445")
         (revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e5dd116766..aedf509c97 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7228,31 +7228,6 @@ (define-public go-github-com-kr-text
     (home-page "https://github.com/kr/text")
     (license license:expat)))
 
-(define-public go-golang-org-sql-mock
-  (let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
-        (version "1.3.3")
-        (revision "1"))
-    (package
-      (name "go-golang-org-sql-mock")
-      (version (git-version version revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/DATA-DOG/go-sqlmock")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "033vv29g2wf6fd757ajfmha30bqin3b07377037zkl051mk6mghs"))))
-      (build-system go-build-system)
-      (arguments
-       '(#:import-path "github.com/DATA-DOG/go-sqlmock"))
-      (synopsis "Mock library implementing @code{sql/driver}")
-      (description "This library simulates SQL-driver behavior in tests
-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")
-- 
2.41.0





  parent reply	other threads:[~2023-10-19  6:36 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-19  1:27 [bug#66619] [PATCH 00/19] Split (gnu packages golang) part I Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 01/19] gnu: Add (gnu packages golang-check) module Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 02/19] gnu: go-github-com-stretchr-testify: Move to (gnu packages golang-check) Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 03/19] gnu: go-github-com-jacobsa-oglemock: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 04/19] gnu: go-github-com-stretchr-testify: Remove lables Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 05/19] gnu: go-gopkg-in-check-v1: Move to (gnu packages golang-check) Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:28 ` [bug#66619] [PATCH 06/19] gnu: go-github-com-jacobsa-oglematchers: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 07/19] gnu: go-github-com-golangplus-testing: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 08/19] gnu: go-gopkg-in-go-playground-assert-v1: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 09/19] gnu: go-github-com-tdewolff-test: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 10/19] gnu: go-github-com-jacobsa-ogletest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 11/19] gnu: go-github-com-google-gofuzz: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 12/19] gnu: go-github-com-cheekybits-is: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 13/19] gnu: go-github-com-frankban-quicktest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 14/19] gnu: go-github-com-google-go-cmdtest: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 15/19] gnu: go-github-com-onsi-ginkgo: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 16/19] gnu: go-honnef-co-go-tools: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 17/19] gnu: go-golang-org-x-lint: " Sharlatan Hellseher
2023-10-19  9:33   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  1:29 ` Sharlatan Hellseher [this message]
2023-10-19  9:33   ` [bug#66627] [PATCH 18/19] gnu: go-golang-org-sql-mock: " Sharlatan Hellseher
2023-10-19  1:29 ` [bug#66619] [PATCH 19/19] gnu: go-github-com-alecthomas-assert: " Sharlatan Hellseher
2023-10-19  9:34   ` [bug#66627] " Sharlatan Hellseher
2023-10-19  9:32 ` [bug#66627] [PATCH 00/19] Split (gnu packages golang) part I Sharlatan Hellseher
2023-10-23  2:25 ` bug#66619: " Maxim Cournoyer
2023-10-27 17:37 ` [bug#66627] close Sharlatan Hellseher
2023-10-27 17:40 ` bug#66627: Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ae71268e6de91f7c157e413c0ca90fa64ee009a.1697678664.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=66627@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).