[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: Add go-go-etcd-io-gofail.
From: |
guix-commits |
Subject: |
03/11: gnu: Add go-go-etcd-io-gofail. |
Date: |
Tue, 14 May 2024 07:53:22 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit c1d7b9ca2d61191fab095c0f97e0ad2ec1b20f07
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Feb 22 09:43:27 2024 +0000
gnu: Add go-go-etcd-io-gofail.
* gnu/packages/golang-check.scm (go-go-etcd-io-gofail): New variable.
Change-Id: I86478db4267cd8559c1d87497f1b635ffe86192d
---
gnu/packages/golang-check.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 3e26f5f374..cca858f917 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -874,6 +874,37 @@ makes extraction of setup/teardown behavior (as well as
invoking the system
under test) much simpler.")
(license license:expat)))
+(define-public go-go-etcd-io-gofail
+ (package
+ (name "go-go-etcd-io-gofail")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/etcd-io/gofail")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jh0qjgfb2irshwj7an3lj0w9bv6c5gbnkdhisgpdr7x7hk682m1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "go.etcd.io/gofail"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/examples")))))))
+ (native-inputs (list go-github-com-stretchr-testify))
+ (home-page "https://pkg.go.dev/go.etcd.io/gofail")
+ (synopsis "Failpoints for go")
+ (description
+ "This package provides an implementation of
+@url{http://www.freebsd.org/cgi/man.cgi?query=fail,failpoints} for Golang.")
+ (license license:asl2.0)))
+
(define-public go-golang-org-sql-mock
(let ((commit "e98392b8111b45f8126e00af035a0dd95dc12e8b")
(version "1.3.3")
- branch go-team created (now 3c59a78345), guix-commits, 2024/05/14
- 01/11: gnu: Add go-1.22 and its standard library., guix-commits, 2024/05/14
- 05/11: gnu: Remove go-etcd-io-bbolt., guix-commits, 2024/05/14
- 08/11: build/go: Use trimpath go flag., guix-commits, 2024/05/14
- 04/11: gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz)., guix-commits, 2024/05/14
- 06/11: gnu: Remove go-golang-org-x-net-html., guix-commits, 2024/05/14
- 09/11: gnu: go-1.22: Update to 1.22.1., guix-commits, 2024/05/14
- 02/11: gnu: Remove go-1.14., guix-commits, 2024/05/14
- 03/11: gnu: Add go-go-etcd-io-gofail.,
guix-commits <=
- 07/11: build/go: Don't use set!, guix-commits, 2024/05/14
- 10/11: gnu: go-1.22: Update to 1.22.2., guix-commits, 2024/05/14
- 11/11: gnu: go-1.22: Disable flakey tests., guix-commits, 2024/05/14