From patchwork Tue Oct 25 19:27:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44114 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 D1CF927BBEB; Tue, 25 Oct 2022 20:30:35 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 4783F27BBE9 for ; Tue, 25 Oct 2022 20:30:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onPb0-0001lq-9G; Tue, 25 Oct 2022 15:28:18 -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 1onPan-00015Z-H3 for guix-patches@gnu.org; Tue, 25 Oct 2022 15:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onPam-0003N1-7a for guix-patches@gnu.org; Tue, 25 Oct 2022 15:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onPam-00046e-2I for guix-patches@gnu.org; Tue, 25 Oct 2022 15:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58768] [PATCH 4/9] gnu: Add go-github-com-jacobsa-oglemock. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Oct 2022 19:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58768@debbugs.gnu.org Cc: "\(" , Felix Lechner Received: via spool by 58768-submit@debbugs.gnu.org id=B58768.166672606215691 (code B ref 58768); Tue, 25 Oct 2022 19:28:04 +0000 Received: (at 58768) by debbugs.gnu.org; 25 Oct 2022 19:27:42 +0000 Received: from localhost ([127.0.0.1]:52375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onPaP-00044y-Tb for submit@debbugs.gnu.org; Tue, 25 Oct 2022 15:27:42 -0400 Received: from linode.us-core.com ([23.239.4.72]:49584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onPaJ-00043e-VY for 58768@debbugs.gnu.org; Tue, 25 Oct 2022 15:27:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=twQCkZUIDd8vkko VZopeptrJONEEojNP3NOyyLNR2kY=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=QCYvgx7w93tSg4864ImwiCO1MAb1ISsjCGEgY0+0 Ic1jinbXc6cDdoBmPOBeAKnEK2unWFH95g22EVB0UlALGfIzd/AeOyijdnpUMr6cTUgMfs 64/flgPqsLzsqu6RDXgR857cfpombNZUbIHukHf54rzMUmzIdrP38XNGonSAY= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 9396a773 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 25 Oct 2022 19:27:32 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id cc202204; Tue, 25 Oct 2022 19:27:31 +0000 (UTC) Date: Tue, 25 Oct 2022 12:27:22 -0700 Message-Id: <20221025192727.2175-4-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221025192727.2175-1-felix.lechner@lease-up.com> References: <20221025192727.2175-1-felix.lechner@lease-up.com> 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: , Sender: "Guix-patches" Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea1043165b..d8ba7876fa 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1229,6 +1229,35 @@ (define-public go-github-com-jacobsa-oglematchers Test for C++ and Google JS Test.") (license license:asl2.0)))) +(define-public go-github-com-jacobsa-oglemock + (let ((commit "e94d794d06ffc6de42cb19d0dab3c219efdd6dcf") + (revision "0")) + (package + (name "go-github-com-jacobsa-oglemock") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jacobsa/oglemock") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14yxf8ykwdwkcccksl6741xgzcf8qykyi58kp4maxpgscqhdl8rq")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/jacobsa/oglemock" + ;; break loop with with go-github-com-jacobsa-ogletest + #:tests? #f)) + (native-inputs (list + go-github-com-jacobsa-oglematchers)) + (home-page "https://github.com/jacobsa/oglemock") + (synopsis "Mocking framework for unit tests") + (description + "Package oglemock provides a mocking framework for unit tests.") + (license license:asl2.0)))) + (define-public go-github-com-kataras-golog (package (name "go-github-com-kataras-golog")