gnu: Add go-github-com-bitfield-gotestdox.

* gnu/packages/golang-check.scm (go-github-com-bitfield-gotestdox,
go-testdox): New variables.

Change-Id: If9d0964a6067a47dc75bc0af5741014b1002d8d0
This commit is contained in:
Sharlatan Hellseher 2024-12-20 07:51:06 +00:00
parent 2cf9fb3bf7
commit c62dc12069
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -121,6 +121,36 @@ value and call @code{t.Fatal()} if the assertion fails.")
@end itemize")
(license license:expat)))
(define-public go-github-com-bitfield-gotestdox
(package
(name "go-github-com-bitfield-gotestdox")
(version "0.2.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bitfield/gotestdox")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1kxj8igjm0wmq9nj3wns7nf95rx70xm327ra68d3ffh300rxg401"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/bitfield/gotestdox"))
(propagated-inputs
(list go-github-com-fatih-color
go-github-com-google-go-cmp
go-github-com-mattn-go-isatty
go-github-com-rogpeppe-go-internal
go-golang-org-x-text))
(home-page "https://github.com/bitfield/gotestdox")
(synopsis "Format Go test results as readable documentation")
(description
"This packages implements a functionality to run tests and report the
results, converting test names WrittenInCamelCase into ordinary sentences.")
(license license:expat)))
(define-public go-github-com-caarlos0-testfs
(package
(name "go-github-com-caarlos0-testfs")
@ -2104,6 +2134,20 @@ into @code{go-structlayout-pretty}.")))
(description "This package takes @code{go-structlayout}-like JSON and
prints an ASCII fraphic representing the memory layout.")))
(define-public go-testdox
(package
(inherit go-github-com-bitfield-gotestdox)
(name "go-testdox")
(arguments
(list
#:install-source? #f
#:import-path "github.com/bitfield/gotestdox/cmd/gotestdox"
#:unpack-path "github.com/bitfield/gotestdox"))
(description
(string-append (package-description go-github-com-bitfield-gotestdox)
" This package provides an command line interface (CLI)
tool."))))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar