gnu: Add go-github-com-cockroachdb-datadriven.

* gnu/packages/golang-check.scm (go-github-com-cockroachdb-datadriven): New variable.

Change-Id: I96d63fadc8f668ccff4c08f8e54942d5ca1c6430
This commit is contained in:
Sharlatan Hellseher 2025-05-28 15:28:14 +01:00
parent 17e7a93b59
commit 3d22571fef
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -375,6 +375,36 @@ test (using testing.TB's @code{TempDir}) and with a few helper methods.")
"A testing library for Go programs.")
(license license:expat)))
(define-public go-github-com-cockroachdb-datadriven
(package
(name "go-github-com-cockroachdb-datadriven")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cockroachdb/datadriven")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1h2dhm4g1n8ny71lm495l5l842lwq320la0q8b8zmr4w3s5nyk09"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/cockroachdb/datadriven"))
(propagated-inputs
(list go-github-com-pmezard-go-difflib))
(home-page "https://github.com/cockroachdb/datadriven")
(synopsis "Data-Driven Tests for Golang")
(description
"This package implements an extension of
@url{https://github.com/golang/go/wiki/TableDrivenTests, Table-Driven
Testing}. Instead of building and iterating over a table in the test code,
the input is further separated into files (or inline strings). For certain
classes of tests, this can significantly reduce the friction involved in
writing and reading these tests.")
(license license:asl2.0)))
(define-public go-github-com-coder-quartz
(package
(name "go-github-com-coder-quartz")