From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aEYDMHYAWWW5rwAAG6o9tA:P1 (envelope-from ) for ; Sat, 18 Nov 2023 19:20:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aEYDMHYAWWW5rwAAG6o9tA (envelope-from ) for ; Sat, 18 Nov 2023 19:20:38 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A079417687 for ; Sat, 18 Nov 2023 19:20:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=Ulj5XhXR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700331638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=B5pOH7Xq2Ujwwz/qe50voJxvhS99DcPCFCwu4zES8Ys=; b=oqAu6qpK/3xKhAmlfh8iF74fYjtU5ghyZ6US+JAYcKhTkBZtpBxapOU+xUPWqSevK2EQjo KMMN7HX3H97nAf9S+fokXsfnpFPBg4EQQdM96KmCwvOZb0WYkLDkJs/8vY8lCioPaZQpve 0oSeziEpEkcEDBXuL+NN6cdVvKn5K2BllPOrR6rbkFu/hM1duPyC+m0VBS8AF9evNhdoXX jibVInW1iKoAD5OzpVvTL+ulg1l2/jTrXYkEb5+Hjz7EnFrRhwUxgXiH2ZKLI/MyThohXj 0YFJ6KxSaUxHM8s/5xh0QYxODbJFcYtXd3UiyyPKQy+t2kOGykyIT/pP2q3h2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uvy.fr header.s=202105 header.b=Ulj5XhXR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uvy.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700331638; a=rsa-sha256; cv=none; b=Z98z4OsZkhmvSWKeCJFHYT4cdO/GDiuKYDJV30qwJ/6NBnOZgafWtC/NULpYCTRb/AfgF2 UHFSkSkrQKLKFc6LXYF89TAXWuclijYEjKgXcufXwo0b7MoqzYVPVlivaEHBO9kY3ri1gh WS63NqNUy7pEc621+cNCSoRzL0CLSG6Z0EgOzlWRdSieQqwszyi8itP16xFL8W0E3KBiLs yA2bOJJAHQYeRb2vaObxInHwm8AN55IgwWEwinPTFriukRv8yEj2cYWP+JpWpkRuOYiVEr sqMdqKki3UQuirNMNA9accHh3j95L0Dl3pWznYENHL4w8q+1xVLQLcTyR2quQg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4PvH-0005wq-VN; Sat, 18 Nov 2023 13:20:03 -0500 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 1r4PvF-0005v0-Pi for guix-patches@gnu.org; Sat, 18 Nov 2023 13:20:01 -0500 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 1r4PvF-00020E-Gf for guix-patches@gnu.org; Sat, 18 Nov 2023 13:20:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4PvG-0008LS-DU for guix-patches@gnu.org; Sat, 18 Nov 2023 13:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67263] [PATCH 2/8] gnu: Add go-github-com-prashantv-gostub. Resent-From: Benjamin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Nov 2023 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67263@debbugs.gnu.org. Cc: Benjamin Received: via spool by 67263-submit@debbugs.gnu.org id=B67263.170033154931923 (code B ref 67263); Sat, 18 Nov 2023 18:20:02 +0000 Received: (at 67263) by debbugs.gnu.org; 18 Nov 2023 18:19:09 +0000 Received: from localhost ([127.0.0.1]:49474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4PuO-0008Io-Ry for submit@debbugs.gnu.org; Sat, 18 Nov 2023 13:19:09 -0500 Received: from mail.uvy.fr ([146.59.197.40]:45980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4PuM-0008IA-KF for 67263@debbugs.gnu.org; Sat, 18 Nov 2023 13:19:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uvy.fr; s=202105; t=1700331540; bh=qhmKZP/BpRcxaeX1t2U80Kl4T1wmPwKB4O0lTtr6Gz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ulj5XhXR/hXqYamWGdO7BKRO0taUGWzt+DIJ9bCNkt3AwV3DNc/ZxaJ/Nx2tvumOZ 7Nq7rGMiWs8dhr/+/HfgVL10tDRZLbGHwc0lscl5gRgYED3HrTmAU6FtCSyC9w99Qu SAgA2hJf9wkid9I0/5CFouexagN8DzLVGVCMiLbEqxma+GcnPODYxwCYXKrnI56rUw SkInVEFIHmDgd7csSEBf2VJ5wt6W1jd8D9f4g9A7ynUEciMkeIye+tXb9EqwCJZ/e1 qJsv5FWqGBqCYxiGPEOmFzKGKZO4tyeppe5YZtbUqYjNPKjLmfAVzBTWcE0mZWh+Tl bKqOCzaGQdsjg== From: Benjamin Date: Sat, 18 Nov 2023 19:17:29 +0100 Message-ID: <5f3c5d8b36713a7e28f1e974b1d2e112e1442e86.1700330009.git.benjamin@uvy.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.50 X-Spam-Score: -3.50 X-Migadu-Queue-Id: A079417687 X-Migadu-Scanner: mx10.migadu.com X-TUID: UOkFxyhuxHF7 * gnu/packages/golang-check.scm (go-github-com-prashantv-gostub): New variable. Change-Id: I2ffde6cb83e4c7f6b2e412b38341add952803719 --- gnu/packages/golang-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 42e501a6e3..a54a4bd226 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -414,6 +414,30 @@ (define-public go-github-com-stretchr-testify @end itemize") (license license:expat))) +(define-public go-github-com-prashantv-gostub + (package + (name "go-github-com-prashantv-gostub") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/prashantv/gostub") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "035xf5w4fqlicdbbjcflsqflc0z5gmrn6wr7q41xwqfwfpraf9ah")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/prashantv/gostub")) + (native-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/prashantv/gostub") + (synopsis "Stubbing library for Go") + (description + "Package gostub is used for stubbing variables in tests, and resetting the +original value once the test has been run.") + (license license:expat))) + (define-public go-github-com-tdewolff-test (package (name "go-github-com-tdewolff-test") -- 2.41.0