gnu: Add go-github-com-tj-assert.

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

Change-Id: Iaacb9cdf7a6314bf4384a50593b3d6279b6a164f
This commit is contained in:
Sharlatan Hellseher 2024-08-25 23:06:09 +01:00
parent dd1cd47d15
commit 89405ff470
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -998,6 +998,33 @@ (define-public go-github-com-tdewolff-test
such as readers and writers that fail after N consecutive reads/writes.")
(license license:expat)))
(define-public go-github-com-tj-assert
(package
(name "go-github-com-tj-assert")
(version "0.0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tj/assert")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1j5swk3fjq1h5fpqkipddz2ccnbidr7qrpm5dpdaflg9q5jnc673"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/tj/assert"))
(propagated-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/tj/assert")
(synopsis "Golang @code{testify/assert} but as @code{testify/require}")
(description
"Package assert implements the same assertions as the
@url{https://github.com/stretchr/testify, assert} package but stops test
execution when a test fails.")
(license license:expat)))
(define-public go-github.com-smartystreets-assertions
(package
(name "go-github.com-smartystreets-assertions")