From patchwork Tue Oct 25 19:27:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44115 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 AB85E27BBEA; Tue, 25 Oct 2022 20:30:44 +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=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 5B1F927BBE9 for ; Tue, 25 Oct 2022 20:30:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onPb4-0002LV-UL; Tue, 25 Oct 2022 15:28:22 -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-00015a-HR 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-0003N2-Jt 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-00046l-FN for guix-patches@gnu.org; Tue, 25 Oct 2022 15:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58768] [PATCH 5/9] gnu: Add go-github-com-jacobsa-ogletest. 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.166672606215698 (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]:52377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onPaQ-000452-5n 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 1onPaK-00043e-Ft 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=flfr3Yo8oesZYo4 Qq+MAVwoHy71OJuotzEuNTfbzZYY=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=j0Feqyy5J3Yl4zUMvq1qg5QpQ9E9onxAXfoorkBH ZTgKUp6coAQp1YXgIIkjb2zTV5EEvii5jwZKco8aPAvJdicj/R+cFcUVTMpazDC7ZaCp97 1vBYwplPtMxP9eYJBeVxNd0KLBetcO6+NFMK9PNk0re5obnMIMWJR/cIh8R74= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 2960ea12 (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 23853dfa; Tue, 25 Oct 2022 19:27:31 +0000 (UTC) Date: Tue, 25 Oct 2022 12:27:23 -0700 Message-Id: <20221025192727.2175-5-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-ogletest): New variable. --- gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d8ba7876fa..9652a23b0c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1258,6 +1258,41 @@ (define-public go-github-com-jacobsa-oglemock "Package oglemock provides a mocking framework for unit tests.") (license license:asl2.0)))) +(define-public go-github-com-jacobsa-ogletest + (let ((commit "80d50a735a1108a2aeb7abc4a988d183f20c5292") + (revision "0")) + (package + (name "go-github-com-jacobsa-ogletest") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jacobsa/ogletest") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lbwbxzr75g65q07ry5k4kglxqs3ym7xkvqznzm55rm3qk76v83r")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/jacobsa/ogletest" + ;; These tests should be made working + #:tests? #f)) + (native-inputs (list + go-github-com-jacobsa-oglematchers + go-github-com-jacobsa-oglemock + go-github-com-jacobsa-reqtrace + go-golang-org-x-net)) + (home-page "https://github.com/jacobsa/ogletest") + (synopsis "Expressive unit tests") + (description + "Package ogletest provides a framework for writing expressive unit tests. It +integrates with the builtin testing package, so it works with the gotest +command. Unlike the testing package which offers only basic capabilities for +signalling failures, it offers ways to express expectations and get nice failure +messages automatically.") + (license license:asl2.0)))) + (define-public go-github-com-kataras-golog (package (name "go-github-com-kataras-golog")