gnu: go-github-com-go-playground-assert-v2: Swap inheritance.

* gnu/packages/golang-check.scm (go-gopkg-in-go-playground-assert-v1):
Inherit from go-github-com-go-playground-assert-v2.
(go-github-com-go-playground-assert-v2): Sort alphabetically by moving up.

Change-Id: I789340f83eefe32184a37909472a549cc727bd96
This commit is contained in:
Sharlatan Hellseher 2025-07-08 09:41:27 +01:00
parent 254894a3a6
commit 03237c4e72
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -683,6 +683,29 @@ tests.")
tests.") tests.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-go-playground-assert-v2
(package
(name "go-github-com-go-playground-assert-v2")
(version "2.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-playground/assert")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "13mb07dxhcy9ydqbracnrpfj682g6sazjpm56yrlbn2jc1yfy44c"))))
(build-system go-build-system)
(arguments
(list #:import-path "github.com/go-playground/assert/v2"))
(home-page "https://github.com/go-playground/assert")
(synopsis "Basic assertion library used alongside native Go testing")
(description
"This package provides basic assertions along with building blocks for
custom assertions to be used alongside native Go testing.")
(license license:expat)))
(define-public go-github-com-go-playground-validator-v10 (define-public go-github-com-go-playground-validator-v10
(package (package
(name "go-github-com-go-playground-validator-v10") (name "go-github-com-go-playground-validator-v10")
@ -2502,6 +2525,7 @@ accurate testing of your code.")
(define-public go-gopkg-in-go-playground-assert-v1 (define-public go-gopkg-in-go-playground-assert-v1
(package (package
(inherit go-github-com-go-playground-assert-v2)
(name "go-gopkg-in-go-playground-assert-v1") (name "go-gopkg-in-go-playground-assert-v1")
(version "1.2.1") (version "1.2.1")
(home-page "https://github.com/go-playground/assert") (home-page "https://github.com/go-playground/assert")
@ -2514,31 +2538,8 @@ accurate testing of your code.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm")))) (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
(build-system go-build-system)
(arguments (arguments
'(#:import-path "gopkg.in/go-playground/assert.v1")) (list #:import-path "gopkg.in/go-playground/assert.v1"))))
(synopsis "Basic assertion library used alongside native Go testing")
(description
"This package provides basic assertions along with building blocks for
custom assertions to be used alongside native Go testing.")
(license license:expat)))
(define-public go-github-com-go-playground-assert-v2
(package
(inherit go-gopkg-in-go-playground-assert-v1)
(name "go-github-com-go-playground-assert-v2")
(version "2.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-playground/assert")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "13mb07dxhcy9ydqbracnrpfj682g6sazjpm56yrlbn2jc1yfy44c"))))
(arguments
(list #:import-path "github.com/go-playground/assert/v2"))))
(define-public go-github-com-warpfork-go-testmark (define-public go-github-com-warpfork-go-testmark
(package (package