From 531d986e01441eb31345922b2b99b4aa2277b9e7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 9 Jan 2022 22:30:32 +0200 Subject: gnu: go-github-com-stretchr-testify: Update to 1.7.0. * gnu/packages/golang.scm (go-github-com-stretchr-testify): Update to 1.7.0. [propagated-inputs]: Replace go-gopkg-in-yaml-v2 with go-gopkg-in-yaml-v3. (go-github-com-stretchr-testify-bootstrap)[propagated-inputs]: Add go-gopkg-in-yaml-v2. (go-github-com-stretchr-objx)[native-inputs]: Remove go-gopkg-in-yaml-v2. --- gnu/packages/golang.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a699a62124..6293c00362 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2874,8 +2874,6 @@ (define-public go-github-com-stretchr-objx go-github-com-pmezard-go-difflib)) (inputs (list go-github-com-stretchr-testify-bootstrap)) - (native-inputs - (list go-gopkg-in-yaml-v2)) (home-page "https://github.com/stretchr/objx") (synopsis "Go package for dealing with maps, slices, JSON and other data") (description "This package provides a Go library for dealing with maps, @@ -2885,7 +2883,7 @@ (define-public go-github-com-stretchr-objx (define-public go-github-com-stretchr-testify (package (name "go-github-com-stretchr-testify") - (version "1.5.1") + (version "1.7.0") (source (origin (method git-fetch) @@ -2895,7 +2893,7 @@ (define-public go-github-com-stretchr-testify (file-name (git-file-name name version)) (sha256 (base32 - "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl")))) + "0ixgjsvafr3513pz3r6pmgk074s2dxkll0dadvl25gkf30rkmh10")))) (build-system go-build-system) (arguments '(#:import-path "github.com/stretchr/testify")) @@ -2903,7 +2901,7 @@ (define-public go-github-com-stretchr-testify `(("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew) ("github.com/pmezard/go-difflib" ,go-github-com-pmezard-go-difflib) ("github.com/stretchr/objx" ,go-github-com-stretchr-objx) - ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2))) + ("gopkg.in/yaml.v3" ,go-gopkg-in-yaml-v3))) (home-page "https://github.com/stretchr/testify") (synopsis "Go helper library for tests and invariant checking") (description "This package provide many tools for testifying that your @@ -2926,7 +2924,8 @@ (define go-github-com-stretchr-testify-bootstrap #:tests? #f #:phases (modify-phases %standard-phases (delete 'build)))) - (propagated-inputs '()))) + (propagated-inputs + (list go-gopkg-in-yaml-v3)))) (define-public go-github-com-tevino-abool (let ((commit -- cgit v1.2.3