mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-go-abhg-dev-testing-stub.
* gnu/packages/golang-check.scm (go-go-abhg-dev-testing-stub): New variable. Change-Id: Idf937f7a27219af80a29748da89ea9fc5ddfa538
This commit is contained in:
parent
6b572f4786
commit
8e68de2d3a
1 changed files with 24 additions and 0 deletions
|
@ -1227,6 +1227,30 @@ functions for writing tests in an @code{xUnit} style.")
|
||||||
struct initialization.")
|
struct initialization.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-go-abhg-dev-testing-stub
|
||||||
|
(package
|
||||||
|
(name "go-go-abhg-dev-testing-stub")
|
||||||
|
(version "0.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/abhinav/stub-go")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "04by4hq9lhmz3ij2rdl053nr76l65q5w8w41khxgr5xak8s63yq6"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "go.abhg.dev/testing/stub"))
|
||||||
|
(home-page "https://github.com/abhinav/stub-go/tree")
|
||||||
|
(synopsis "Trivial stubbing package for Go")
|
||||||
|
(description
|
||||||
|
"Package stub provides helper functions to replace global variables for testing,
|
||||||
|
and restore them afterwards.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public go-go-etcd-io-gofail
|
(define-public go-go-etcd-io-gofail
|
||||||
(package
|
(package
|
||||||
(name "go-go-etcd-io-gofail")
|
(name "go-go-etcd-io-gofail")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue