all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Benjamin <benjamin@uvy.fr>
To: 67263@debbugs.gnu.org.
Cc: Benjamin <benjamin@uvy.fr>
Subject: [bug#67263] [PATCH 2/8] gnu: Add go-github-com-prashantv-gostub.
Date: Sat, 18 Nov 2023 19:17:29 +0100	[thread overview]
Message-ID: <5f3c5d8b36713a7e28f1e974b1d2e112e1442e86.1700330009.git.benjamin@uvy.fr> (raw)
In-Reply-To: <cover.1700330009.git.benjamin@uvy.fr>

* 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





  parent reply	other threads:[~2023-11-18 18:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-18 18:14 [bug#67263] [PATCH 0/8] adding nats-server package Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 1/8] gnu: Add go-github-com-minio-highwayhash Benjamin
2023-11-18 18:17 ` Benjamin [this message]
2023-11-18 18:17 ` [bug#67263] [PATCH 3/8] gnu: Add go-go-uber-org-automaxprocs Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 4/8] gnu: Add go-github-com-nats-io-nuid Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 5/8] gnu: Add go-github-com-nats-io-nkeys Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 6/8] gnu: Add go-github-com-nats-io-jwt-v2 Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 7/8] gnu: Add go-github-com-nats-io-nats-go Benjamin
2023-11-18 18:17 ` [bug#67263] [PATCH 8/8] gnu: Add nats-server Benjamin
2024-02-01 19:55 ` [bug#67263] [PATCH 0/8] adding nats-server package Sharlatan Hellseher
2024-02-08 21:55 ` bug#67263: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f3c5d8b36713a7e28f1e974b1d2e112e1442e86.1700330009.git.benjamin@uvy.fr \
    --to=benjamin@uvy.fr \
    --cc=67263@debbugs.gnu.org. \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.