[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: Add go-github-com-prashantv-gostub.
From: |
guix-commits |
Subject: |
02/11: gnu: Add go-github-com-prashantv-gostub. |
Date: |
Thu, 8 Feb 2024 16:48:04 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit d6866b6cbee4920439be86916dab3c830746f5ea
Author: Benjamin <benjamin@uvy.fr>
AuthorDate: Sat Nov 18 19:17:29 2023 +0100
gnu: Add go-github-com-prashantv-gostub.
* gnu/packages/golang-check.scm (go-github-com-prashantv-gostub): New
variable.
Change-Id: I2ffde6cb83e4c7f6b2e412b38341add952803719
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-check.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 324bf47aa7..912444bc8e 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 ( <paren@disroot.org>
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
@@ -351,6 +352,30 @@ builds on top of Go's builtin @code{testing} library and
is complemented by the
Gomega matcher library.")
(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-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
- branch master updated (8798f940ad -> 90fe823638), guix-commits, 2024/02/08
- 01/11: gnu: Add go-github-com-minio-highwayhash., guix-commits, 2024/02/08
- 03/11: gnu: Add go-go-uber-org-automaxprocs., guix-commits, 2024/02/08
- 04/11: gnu: Add go-github-com-nats-io-nuid., guix-commits, 2024/02/08
- 02/11: gnu: Add go-github-com-prashantv-gostub.,
guix-commits <=
- 06/11: gnu: Add go-github-com-nats-io-jwt-v2., guix-commits, 2024/02/08
- 11/11: gnu: nats-server: Update to 2.10.10., guix-commits, 2024/02/08
- 07/11: gnu: Add go-github-com-nats-io-nats-go., guix-commits, 2024/02/08
- 05/11: gnu: Add go-github-com-nats-io-nkeys., guix-commits, 2024/02/08
- 08/11: gnu: Add nats-server., guix-commits, 2024/02/08
- 10/11: gnu: go-github-com-nats-io-nats-go: Update to 1.32.0., guix-commits, 2024/02/08
- 09/11: gnu: go-github-com-nats-io-nkeys: Update to 0.4.7., guix-commits, 2024/02/08