From patchwork Mon Sep 2 12:18:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 30544 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 671FF27BBEE; Mon, 2 Sep 2024 13:20:52 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 B8B0A27BBE2 for ; Mon, 2 Sep 2024 13:20:51 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl62N-0000Tz-Bg; Mon, 02 Sep 2024 08:20:03 -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 1sl62L-0000Si-OW for guix-patches@gnu.org; Mon, 02 Sep 2024 08:20:01 -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 1sl62L-0006Vy-Ds for guix-patches@gnu.org; Mon, 02 Sep 2024 08:20:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=ku4Rw9FBShADaQfkQcjE24QSmRcS+m946lL8Etpd0e4=; b=Z4ntQbjPrNBi6Y3YcnujjdLII2a4hPhHg5k3W/Z3sW/+S+gdm4rx14hbz/ncIUkWEnxzW1WwLHQd3kjzi0hzVwZQjxxuIgHpb6oTv20tO5/Qe+aeetXyfj04JUnNHfBuyp6KkRGjZdHrC82ym3uvTXsQblRo2POYe2JoA475vc4DWPndgVa1T4UGw3JRsA7s2Trs1lRWQtfHZp0UXVSrL8Pcobhg2B6MgcdrWHti7I37e2gCxd/xRbPvuh6eFhUx0CNSQhfOfY4Z/YmbfnPRCJY+WV3xtSHvWYXik5dyAlN2WIqAYt2B+0csy2LBnuxpUbToJIEPOhf6lUvCRLo3kg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sl63K-0000wu-4m for guix-patches@gnu.org; Mon, 02 Sep 2024 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72963] [PATCH go-team 02/30] gnu: Add go-github-com-sebdah-goldie-v2. References: <20240902115525.31070-1-herman@rimm.ee> In-Reply-To: <20240902115525.31070-1-herman@rimm.ee> Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Sep 2024 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72963@debbugs.gnu.org Received: via spool by 72963-submit@debbugs.gnu.org id=B72963.17252796233269 (code B ref 72963); Mon, 02 Sep 2024 12:21:02 +0000 Received: (at 72963) by debbugs.gnu.org; 2 Sep 2024 12:20:23 +0000 Received: from localhost ([127.0.0.1]:47005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl62h-0000qa-CF for submit@debbugs.gnu.org; Mon, 02 Sep 2024 08:20:23 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43457 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl62e-0000qB-L3 for 72963@debbugs.gnu.org; Mon, 02 Sep 2024 08:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1725279551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ku4Rw9FBShADaQfkQcjE24QSmRcS+m946lL8Etpd0e4=; b=pbHqvGZf3fa0O1M5q4a59Y1Yyg0/AXT0Do09zFsgpLtDVBwkgJCuPwQxzCkIg5jbQe0QXt EB9QBsH22kF1tfCszz+df9i6lOeC9DqLBU7gecEMBbuP4QgBemnRwHLh8zNVZl9IPRUI8M POOqbWmDmAm82TpujvL3zzlOhavyG9PV64Aj6Nr4u6FZNNZYMCoyi3GMYtAybgvuw34WKD 7xaG0yo/tio+rCqhff0YWyAixUx01Q+pIZxr26qLZgOGDBz42MA9YNkcGCVxP1BEoCPFTs tLlw/vQB9/uyCNRGH6FNIyPPIrDOPSZ3jwAbYewK5tndcYnV5K1jhjKsdo1O3w== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1d2a2a72 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <72963@debbugs.gnu.org>; Mon, 2 Sep 2024 12:19:10 +0000 (UTC) Date: Mon, 2 Sep 2024 14:18:10 +0200 Message-ID: <20240902121843.31430-1-herman@rimm.ee> X-Mailer: git-send-email 2.45.2 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-xyz.scm (go-github-com-sebdah-goldie-v2): Add variable. --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a7caf53d12..df7a79a217 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5038,6 +5038,32 @@ (define-public go-github-com-schollz-progressbar-v3 is undetermined, a customizable spinner is shown.") (license license:expat))) +(define-public go-github-com-sebdah-goldie-v2 + (package + (name "go-github-com-sebdah-goldie-v2") + (version "2.5.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebdah/goldie") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12gji9p6b6zlkisbd3ww103zwd5chlwkb6h5dppfrmgxim84n5n0")))) + (build-system go-build-system) + (arguments (list #:import-path "github.com/sebdah/goldie/v2")) + (propagated-inputs (list go-github-com-stretchr-testify + go-github-com-sergi-go-diff + go-github-com-pmezard-go-difflib)) + (home-page "https://github.com/sebdah/goldie") + (synopsis "Golden test utility") + (description + "Package goldie provides test assertions based on golden files. +It's typically used for testing responses with larger data bodies.") + (license license:expat))) + (define-public go-github-com-sergi-go-diff (package (name "go-github-com-sergi-go-diff")