1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: go-github-com-golangplus-testing: Fix tests.

These changes need to be applied together to allow bootstrapping of
missing inputs.

* gnu/packages/golang-check.scm (go-github-com-golangplus-testing-bootstrap):
New variable.
(go-github-com-golangplus-testing) [native-inputs]: Add
go-github-com-golangplus-bytes-bootstrap.

* gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes): New
variable.

Change-Id: Ib97363281fc9a169a734a63197db70a3ce8f9d48
This commit is contained in:
Sharlatan Hellseher 2025-01-01 16:47:29 +00:00
parent baba666a6f
commit 0f510fc044
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 49 additions and 0 deletions

View file

@ -631,12 +631,25 @@ package, but can be used in other contexts too.")
(build-system go-build-system)
(arguments
'(#:import-path "github.com/golangplus/testing"))
(native-inputs
(list go-github-com-golangplus-bytes-bootstrap))
(propagated-inputs
(list go-github-com-golangplus-fmt))
(synopsis "Additions to Go's standard testing package")
(description "This package provides additions to Go's stdlib testing.")
(license license:bsd-3)))
(define-public go-github-com-golangplus-testing-bootstrap
(hidden-package
(package
(inherit go-github-com-golangplus-testing)
(arguments
(list #:skip-build? #t
#:tests? #f
#:import-path "github.com/golangplus/testing"))
(native-inputs '())
(propagated-inputs '()))))
(define-public go-github-com-google-gofuzz
(package
(name "go-github-com-google-gofuzz")

View file

@ -5215,6 +5215,42 @@ execution.")
"The chardet package ports character set detection from ICU to Go.")
(license license:expat)))
(define-public go-github-com-golangplus-bytes
(package
(name "go-github-com-golangplus-bytes")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/golangplus/bytes")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0r8f9m7hm6idnbapfb01nw5h09a20b09r7sky2gkniympn98ra75"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/golangplus/bytes"))
(native-inputs
(list go-github-com-golangplus-testing-bootstrap))
(home-page "https://github.com/golangplus/bytes")
(synopsis "Extention to Golang standard @code{bytes} library.")
(description
"Package bytesp is a plus to the standard @code{bytes} package.")
(license license:bsd-3)))
(define-public go-github-com-golangplus-bytes-bootstrap
(hidden-package
(package
(inherit go-github-com-golangplus-bytes)
(arguments
(list #:skip-build? #t
#:tests? #f
#:import-path "github.com/golangplus/bytes"))
(native-inputs '())
(propagated-inputs '()))))
(define-public go-github-com-gologme-log
(package
(name "go-github-com-gologme-log")