From patchwork Thu Oct 19 01:29:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 54983 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EFD0827BBED; Wed, 18 Oct 2023 23:31:57 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B2F7A27BBE2 for ; Wed, 18 Oct 2023 23:31:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtF4l-0004kD-Iy; Wed, 18 Oct 2023 18:31:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtF3w-00042C-Dq for guix-patches@gnu.org; Wed, 18 Oct 2023 18:30:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtF3w-00037H-5Q for guix-patches@gnu.org; Wed, 18 Oct 2023 18:30:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtF4M-0002PQ-Ak; Wed, 18 Oct 2023 18:31:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66619] [PATCH 18/19] gnu: go-golang-org-sql-mock: Move to (gnu packages golang-check). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 18 Oct 2023 22:31:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66619@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 66619-submit@debbugs.gnu.org id=B66619.16976682729031 (code B ref 66619); Wed, 18 Oct 2023 22:31:14 +0000 Received: (at 66619) by debbugs.gnu.org; 18 Oct 2023 22:31:12 +0000 Received: from localhost ([127.0.0.1]:34984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtF4J-0002KD-3j for submit@debbugs.gnu.org; Wed, 18 Oct 2023 18:31:12 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:61632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtF3p-0001YE-CA for 66619@debbugs.gnu.org; Wed, 18 Oct 2023 18:30:42 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4064867903cso77148935e9.2 for <66619@debbugs.gnu.org>; Wed, 18 Oct 2023 15:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697668209; x=1698273009; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qadg0QL02Q0Ri51Vg266jCTr1ERuwsuTXclwyTkHOzo=; b=J1TKpcHfpocu6o++kZ1lXP3KSDlBSn5wPzUcj2rFKh1pAqlDp3id7SmyXaKUWptONY UWEQEnmPyc5d81knIukx0WAHo1KySeaPXRmKYY9PU9Cm//RuNcqhnKHy5pQXBqtcY1/T rSU8YCc270HygY8h1Ms26udJ+xPMGBbsG5by3ys1Thea1mtLv7/jkCJdg/Q3ScpzEf8E ojGO8c81jhLnflv/B5qo1j0HIQANRHR4vMaqNLqZJ2gtHyD7FbZ4JueGwkTiiLDW/cUa jLSWXStYmUH1CvcwqGycoayJ4z90b7IikcmiPewjX2yrk8fDUn9tqJl5DlF/Aq2TFVcD drsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697668209; x=1698273009; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qadg0QL02Q0Ri51Vg266jCTr1ERuwsuTXclwyTkHOzo=; b=oisFlgPRdAdmxQNuevRHlEI9HYG5xqbQWwKLEE8eeQzcGKnfXcvt7Zyr+cRmBFMqtw sARsf7hzggBkuOqvb7aGs+bui4GBJw9E3+T2bkHkgjOL3i7ttvlsBqhYEp2dVpQNN1tZ 9EmSy935KtRRk++OoocApADlL5Dm2gVZnQfDBw00MSdrqwiAO6rI/NyZABclfaF7c8pz K8Af8rK/dZ4/lOheDWP+tDuwWnNS8uun+DEvtdo4qcBjl5OkXZ8zcP0viqEvYE0fB+8E /+5BnIOVo9Hl9zH/BWYRGiAjw3KJ6bqf2nZCUP6nafWD5cGNMuPF/zt4OrbLAfCFS4kE AHZA== X-Gm-Message-State: AOJu0Ywo/+NMYNtqpk2vt/YF6NZWVUjl8QAYuymHKzhA0rSGPS/Q+kzQ Ko+Oe53L7E9xJ42cAz9Abv7m6mMHWhIcxQ== X-Google-Smtp-Source: AGHT+IEIDWBpn+IhuUVjA18t7MdvBi9pvErFdHYxnURiYO6YiZYJNq4wb4TM2zta5acAWSWAlaNwJg== X-Received: by 2002:a7b:c8da:0:b0:406:4501:9095 with SMTP id f26-20020a7bc8da000000b0040645019095mr435437wml.40.1697668209420; Wed, 18 Oct 2023 15:30:09 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id x6-20020a5d6506000000b0032d886039easm3032951wru.14.2023.10.18.15.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 15:30:08 -0700 (PDT) From: Sharlatan Hellseher Date: Thu, 19 Oct 2023 02:29:11 +0100 Message-ID: <8ae71268e6de91f7c157e413c0ca90fa64ee009a.1697678664.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2018 Pierre-Antoine Rouby +;;; Copyright © 2019 Brian Leung ;;; Copyright © 2019 Leo Famulari ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Joseph LaFreniere @@ -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")