diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index c7f7d81973..6e113bc91e 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm @@ -143,7 +143,6 @@ PSKC (RFC6030) to manage secret key data.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/google/oauth2l" #:test-flags @@ -161,7 +160,9 @@ PSKC (RFC6030) to manage secret key data.") "TestServiceAccountImpersonationFlow/fetch._sso.*" "TestStsFlow/fetch._2lo._sts" "TestStsFlow/fetch._sso._sts") - "|")) + "|") + ;; go 1.24 runs -vet by default, but oauth2l isn't ready + "-vet=off") #:phases #~(modify-phases %standard-phases (add-before 'check 'pre-check diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 534bf0a083..1b7b848d3f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -25317,9 +25317,9 @@ functions.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/biogo/store")) + #:import-path "github.com/biogo/store" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-gopkg-in-check-v1 go-github-com-kr-pretty)) diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index 227796b8eb..a9c822845d 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm @@ -255,11 +255,11 @@ containers highly integrated with the hosts.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:build-flags #~(list (string-append "-ldflags=-X main.version=" #$version)) - #:import-path "github.com/wagoodman/dive")) + #:import-path "github.com/wagoodman/dive" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-awesome-gocui-gocui go-github-com-awesome-gocui-keybinding diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9977fc581c..4c3d3d208f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -473,11 +473,11 @@ database later.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:build-flags #~(list "-tags" "external_libzstd") #:test-flags #~(list "-tags" "external_libzstd" ;; Skip tests requiring git in PATH. - "-skip" "TestLint") + "-skip" "TestLint" + "-vet=off") ;; XXX: Maybe run more tests if possible. #:test-subdirs #~(list "internal/...") #:import-path "github.com/cockroachdb/pebble")) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 5a7f3076f3..6e31c6950b 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -718,7 +718,6 @@ machine, and more.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/exercism/cli/exercism" #:unpack-path "github.com/exercism/cli" @@ -756,7 +755,8 @@ machine, and more.") (mkdir-p (dirname zsh)) (with-output-to-file zsh (lambda () - (invoke exercism "completion" "zsh"))))))))) + (invoke exercism "completion" "zsh"))))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-blang-semver go-github-com-spf13-cobra diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index 1713c4a03a..5814bc6583 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -481,7 +481,6 @@ is corrupted you'll lose the affected file(s) but not the whole back-up.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/google/fscrypt" #:install-source? #f #:test-flags @@ -492,7 +491,9 @@ is corrupted you'll lose the affected file(s) but not the whole back-up.") "TestLoadReadOnlyMount" "TestReadWriteMountIsPreferredOverReadOnlyMount" "TestLoadAmbiguousMounts" - "TestRootSubtreeIsPreferred") "|")) + "TestRootSubtreeIsPreferred") "|") + ;; Disable go vet in go 1.24+ + "-vet=off") #:phases #~(modify-phases %standard-phases (add-before 'build 'fix-version-detection @@ -625,7 +626,6 @@ significantly increases the risk of irreversible data loss!") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/rfjakob/gocryptfs" #:build-flags @@ -640,7 +640,9 @@ significantly increases the risk of irreversible data loss!") (list "TestPrepareAtSyscall" "TestPrepareAtSyscallPlaintextnames" "TestGetdents") - "|")) + "|") + ;; disable go vet for go 1.24+ + "-vet=off") ;; XXX: Test suit requires a root access to mount, limit to some unit ;; tests, figure out how to enable most of the them. #:test-subdirs #~(list "internal/...") diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index c73e2f16ee..409c04fa6d 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -472,8 +472,8 @@ test (using testing.TB's @code{TempDir}) and with a few helper methods.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/cheekybits/is")) + #:import-path "github.com/cheekybits/is" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/cheekybits/is") (synopsis "Mini testing helper for Go") (description "A mini testing helper for Go. @@ -563,8 +563,8 @@ writing and reading these tests.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/coder/quartz")) + #:import-path "github.com/coder/quartz" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/coder/quartz") (synopsis "Golang time testing library for writing deterministic unit tests") (description @@ -616,14 +616,14 @@ strings which may be used in mock tests.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/DATA-DOG/go-sqlmock" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples (lambda* (#:key tests? import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file-recursively "examples"))))))) + (delete-file-recursively "examples"))))) + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-kisielk-sqlstruct)) (home-page "https://github.com/DATA-DOG/go-sqlmock") @@ -1282,10 +1282,10 @@ package, but can be used in other contexts too.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/google/gofuzz" ;; Tests fail on 32bit - #:tests? (target-64bit?))) + #:tests? (target-64bit?) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/google/gofuzz") (synopsis "Fuzz testing library for Go") (description @@ -2023,8 +2023,8 @@ output capturing, mocking, and much more.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/matryer/is")) + #:import-path "github.com/matryer/is" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/matryer/is") (synopsis "Lightweight testing mini-framework for Golang") (description @@ -2166,9 +2166,9 @@ error messages, preserving the order of @code{have} (actual result) before (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/ginkgo" - #:test-flags #~(list "-skip" "TestIntegration"))) + #:test-flags #~(list "-skip" "TestIntegration" + "-vet=off"))) (propagated-inputs (list go-github-com-go-task-slim-sprig go-github-com-nxadm-tail @@ -2199,12 +2199,12 @@ Gomega matcher library.") (base32 "01rmm0lx29bwl973qixx6avwa8m6yc1vkara52cbl0jxxwf1jf3d")))) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/ginkgo/v2" #:test-subdirs ;; XXX: Most of the tests hang, find out why, keeping bare minimal ;; amount. - #~(list "dsl/..." "extensions/globals" "."))) + #~(list "dsl/..." "extensions/globals" ".") + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-go-uber-org-automaxprocs)) ; for the CLI (propagated-inputs @@ -2245,14 +2245,14 @@ Gomega matcher library.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/onsi/gomega" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-failing-test-files (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file "gexec/build_test.go"))))))) + (delete-file "gexec/build_test.go"))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-onsi-ginkgo-v2-bootstrap)) (propagated-inputs @@ -2285,8 +2285,8 @@ framework.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/otiai10/mint")) + #:import-path "github.com/otiai10/mint" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/otiai10/mint") (synopsis "Minimal assertion for Golang testing framework") (description @@ -2500,8 +2500,8 @@ GIT_TRACE mechanism.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/smarty/assertions")) + #:import-path "github.com/smarty/assertions" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/smarty/assertions") (synopsis "Fluent assertion-style functions") (description @@ -2529,8 +2529,8 @@ functions and even in applications.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/smarty/gunit")) + #:import-path "github.com/smarty/gunit" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/smarty/gunit") (synopsis "Golang xUnit-style test fixture test adapter") (description @@ -2849,8 +2849,8 @@ customization (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/warpfork/go-testmark")) + #:import-path "github.com/warpfork/go-testmark" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-warpfork-go-fsx)) (home-page "https://github.com/warpfork/go-testmark") @@ -3586,8 +3586,8 @@ thoroughly (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "sigs.k8s.io/randfill")) + #:import-path "sigs.k8s.io/randfill" + #:test-flags #~(list "-vet=off"))) (home-page "https://sigs.k8s.io/randfill") (synopsis "Fuzz testing for Golang") (description diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index f60be25954..efbb703207 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -219,7 +219,6 @@ primitives.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/99designs/keyring" #:test-flags #~(list "-skip" (string-join @@ -229,7 +228,8 @@ primitives.") "TestLibSecretGetWhenNotEmpty" "TestLibSecretRemoveWhenEmpty" "TestLibSecretRemoveWhenNotEmpty") - "|")))) + "|") + "-vet=off"))) (native-inputs (list gnupg go-github-com-stretchr-testify password-store)) (propagated-inputs @@ -367,9 +367,9 @@ with its management port enabled.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/blanu/Dust")) + #:import-path "github.com/blanu/Dust" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-operatorfoundation-ed25519 go-github-com-op-go-logging @@ -548,8 +548,8 @@ described at @url{https://xxhash.com/}.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/chmduquesne/rollinghash/")) + #:import-path "github.com/chmduquesne/rollinghash/" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-code-cloudfoundry-org-bytefmt)) (home-page "https://github.com/chmduquesne/rollinghash") diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm index 831af6cc6b..207d9cd694 100644 --- a/gnu/packages/golang-maths.scm +++ b/gnu/packages/golang-maths.scm @@ -386,14 +386,16 @@ penalization.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/montanaflynn/stats" #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples (lambda* (#:key tests? import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) - (delete-file-recursively "examples"))))))) + (delete-file-recursively "examples"))))) + #:test-flags + ;; disable go vet in go 1.24+ + #~(list "-vet=off"))) (home-page "https://github.com/montanaflynn/stats") (synopsis "Statistics library for Golang") (description @@ -498,7 +500,6 @@ format as binary16.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "gonum.org/v1/gonum" #:test-subdirs #~(list "." @@ -521,7 +522,8 @@ format as binary16.") '("spatial/...") '()) "stat/..." - "uniti/..."))) + "uniti/...") + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-goccmack-gocc go-github-com-google-go-cmp diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm index 41e9cb39df..1f1d2250e6 100644 --- a/gnu/packages/golang-vcs.scm +++ b/gnu/packages/golang-vcs.scm @@ -281,8 +281,8 @@ using the Git pkt-line format used in various Git operations.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jiangxin/goconfig")) + #:import-path "github.com/jiangxin/goconfig" + #:test-flags #~(list "-vet=off"))) (native-inputs (list git-minimal/pinned go-github-com-jiu2015-gotestspace diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 8d2a903a1d..e64ff922d0 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -506,9 +506,9 @@ Gemini clients and servers.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "prelude.graphql") - #:import-path "git.sr.ht/~emersion/gqlclient")) + #:import-path "git.sr.ht/~emersion/gqlclient" + #:test-flags #~(list "-vet=off"))) ;; For the CLI. (native-inputs (list go-github-com-dave-jennifer @@ -535,8 +535,8 @@ Gemini clients and servers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "git.sr.ht/~rockorager/go-jmap")) + #:import-path "git.sr.ht/~rockorager/go-jmap" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) @@ -968,8 +968,8 @@ particular test phases or milestones have been reached. It is part of the (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/apex/log")) + #:import-path "github.com/apex/log" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-tj-assert go-github-com-stretchr-testify)) @@ -999,9 +999,9 @@ require encoding and decoding before fanning-out to handlers.") (hidden-package (package/inherit go-github-com-apex-log (arguments - (list #:go go-1.23 - #:import-path "github.com/apex/log" - #:test-subdirs #~(list "."))) + (list #:import-path "github.com/apex/log" + #:test-subdirs #~(list ".") + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-fatih-color go-github-com-pkg-errors))))) @@ -2507,8 +2507,8 @@ and RFC 5389).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/cenkalti/backoff/v4")) + #:import-path "github.com/cenkalti/backoff/v4" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/cenkalti/backoff") (synopsis "The exponential backoff algorithm in Go") (description @@ -3758,7 +3758,6 @@ Data Representation (XDR) standard protocol as specified in RFC (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/digitalocean/godo" #:test-flags #~(list "-skip" (string-join @@ -3771,7 +3770,8 @@ Data Representation (XDR) standard protocol as specified in RFC "TestRegistry_DeleteTag" "TestRegistry_ListManifests" "TestRepository_ListTags") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -3880,8 +3880,8 @@ translation (NAT), proxies, sockets, and transport layer security (TLS).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/donovanhide/eventsource")) + #:import-path "github.com/donovanhide/eventsource" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/donovanhide/eventsource") (synopsis "Server Side Events client and server for Golang") (description @@ -4387,8 +4387,8 @@ for Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/emersion/go-smtp")) + #:import-path "github.com/emersion/go-smtp" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-emersion-go-sasl)) (home-page "https://github.com/emersion/go-smtp") @@ -4597,8 +4597,8 @@ Files.com from applications written in Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/flosch/pongo2/v6")) + #:import-path "github.com/flosch/pongo2/v6" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-gopkg-in-check-v1)) (home-page "https://github.com/flosch/pongo2") @@ -4964,8 +4964,8 @@ supports middleware, routing groups, and URL parameters.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-chi/chi/v5")) + #:import-path "github.com/go-chi/chi/v5" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/go-chi/chi") (synopsis "Composable router for HTTP services written in Go") (description @@ -5060,8 +5060,8 @@ Signature headers are to be set (but not both).") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-jose/go-jose/v3")) + #:import-path "github.com/go-jose/go-jose/v3" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-google-go-cmp go-github-com-stretchr-testify)) @@ -5207,8 +5207,8 @@ about the content.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/go-openapi/errors")) + #:import-path "github.com/go-openapi/errors" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (home-page "https://github.com/go-openapi/errors") @@ -5324,9 +5324,9 @@ Supports JSON and YAML documents.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json") - #:import-path "github.com/go-openapi/runtime")) + #:import-path "github.com/go-openapi/runtime" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -5461,7 +5461,6 @@ projects.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json") #:import-path "github.com/go-openapi/validate" #:phases @@ -5473,7 +5472,8 @@ projects.") (for-each delete-file (list "benchmark_test.go" "example_validator_test.go" - "doc_test.go")))))))) + "doc_test.go")))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -5721,8 +5721,8 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/gobwas/httphead")) + #:import-path "github.com/gobwas/httphead" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/gobwas/httphead") (synopsis "Tiny HTTP header value parsing library in Golang") (description @@ -5776,8 +5776,8 @@ protocol as specified in @url{https://rfc-editor.org/rfc/rfc6455.html, RFC (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/goccy/go-json")) + #:import-path "github.com/goccy/go-json" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/goccy/go-json") (synopsis "JSON encoder/decoder in Go") (description @@ -5870,7 +5870,6 @@ APIs.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "github.com/gogo/protobuf" ;; protoc: exec: "protoc-min-version": executable file not found in $PATH @@ -5886,7 +5885,8 @@ APIs.") "TestRepeatedEmbed" "TestStdTypesGoString" "TestTakesTooLongToDebug") - "|")))) + "|") + "-vet=off"))) (home-page "https://github.com/gogo/protobuf") (synopsis "Protocol Buffers for Go with Gadgets") (description "Gogoprotobuf is a fork of golang/protobuf with extra code @@ -6261,8 +6261,8 @@ iptables successor). It does not rely on libnftnl wrappers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/google/safehtml")) + #:import-path "github.com/google/safehtml" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-golang-org-x-text)) (home-page "https://github.com/google/safehtml") @@ -7616,9 +7616,9 @@ authenticated identities and their attributes.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/jcmturner/gokrb5/v8" - #:unpack-path "github.com/jcmturner/gokrb5")) + #:unpack-path "github.com/jcmturner/gokrb5" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -7749,8 +7749,8 @@ about missing required fields, or when pattern validation does not match.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jhillyerd/enmime")) + #:import-path "github.com/jhillyerd/enmime" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-go-test-deep go-github-com-stretchr-testify)) @@ -7801,8 +7801,8 @@ geared towards parsing MIME encoded emails.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jlaffaye/ftp")) + #:import-path "github.com/jlaffaye/ftp" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -7830,8 +7830,8 @@ described in @url{https://www.rfc-editor.org/rfc/rfc959,RFC 959}.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/jmespath/go-jmespath")) + #:import-path "github.com/jmespath/go-jmespath" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib @@ -7908,7 +7908,6 @@ controlled. It is based on netlink messages.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/json-iterator/go" #:test-flags #~(list "-skip" (string-join @@ -7916,7 +7915,8 @@ controlled. It is based on netlink messages.") "Test_marshal/.57._/string" "Test_string_encode_with_std_without_html_escape" "Test_symmetric/map.test.stringKeyType.string") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-google-gofuzz @@ -8225,9 +8225,9 @@ protocol in Go language.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/labbsr0x/goh")) + #:import-path "github.com/labbsr0x/goh" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-go-cmd-cmd go-github-com-go-errors-errors @@ -9239,8 +9239,8 @@ fixed.") go-golang-org-x-text)) (arguments (list - #:go go-1.23 - #:import-path "github.com/makeworld-the-better-one/go-gemini")) + #:import-path "github.com/makeworld-the-better-one/go-gemini" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/makew0rld/go-gemini") (synopsis "Client/server library for the Gemini protocol, in Go") (description @@ -11103,7 +11103,6 @@ Border Gateway Protocol}} implementation.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "github.com/ovn-kubernetes/libovsdb" #:test-flags @@ -11133,7 +11132,8 @@ Border Gateway Protocol}} implementation.") "TestWaitOpNotEquals" "Test_merge") #~())) - "|")) + "|") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -11190,9 +11190,9 @@ also be used to manage your stamp collection.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/pascaldekloe/goe")) + #:import-path "github.com/pascaldekloe/goe" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/pascaldekloe/goe") (synopsis "Enterprise tooling for Golang") (description @@ -11244,8 +11244,8 @@ API.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/perimeterx/marshmallow")) + #:import-path "github.com/perimeterx/marshmallow" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-go-test-deep)) (propagated-inputs @@ -11800,8 +11800,8 @@ Protocol,SCTP} as specified in (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun")) + #:import-path "github.com/pion/stun" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -11835,8 +11835,8 @@ Protocol,SCTP} as specified in (base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun/v2")) + #:import-path "github.com/pion/stun/v2" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-pion-dtls-v2 go-github-com-pion-logging @@ -11860,8 +11860,8 @@ Protocol,SCTP} as specified in (base32 "0yavl76y0fida9f1jfdmzdg7rm5jhp6kvdgn3smsf93jad1vbr2x")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/pion/stun/v3")) + #:import-path "github.com/pion/stun/v3" + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list go-github-com-pion-dtls-v3 go-github-com-pion-logging @@ -12813,7 +12813,6 @@ RFC 1014) in Go.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/rcrowley/go-metrics" #:test-flags ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le @@ -12825,7 +12824,8 @@ RFC 1014) in Go.") "TestUniformSampleSnapshot" "TestUniformSampleStatistics") "|")) - '())))) + '()) + "-vet=off"))) (propagated-inputs (list go-github-com-stathat-go)) (home-page "https://github.com/rcrowley/go-metrics") @@ -13820,7 +13820,6 @@ REST APIs.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/swaggo/swag" #:unpack-path "github.com/swaggo/swag" #:embed-files @@ -13834,7 +13833,8 @@ REST APIs.") "schema\\.json") #:test-flags #~(list "-skip" (string-append "TestParseGoList/enableGOMODULE" - "|TestParseDescriptionMarkdown")) + "|TestParseDescriptionMarkdown") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -14436,8 +14436,8 @@ files to XML generation (for example, @code{gin.Context} or (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/urfave/negroni")) + #:import-path "github.com/urfave/negroni" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/urfave/negroni") (synopsis "Idiomatic HTTP Middleware for Golang") (description @@ -14462,8 +14462,8 @@ tiny,non-intrusive, and encourages use of @code{net/http} Handlers.") (build-system go-build-system) (arguments (list - #:go go-1.23 - #:import-path "github.com/urfave/negroni/v3")))) + #:import-path "github.com/urfave/negroni/v3" + #:test-flags #~(list "-vet=off"))))) (define-public go-github-com-valyala-fasthttp (package @@ -15032,11 +15032,11 @@ programming language.") (build-system go-build-system) (arguments (list - #:go go-1.23 ;; validation of time strings. only RFC3339 not all of ISO 8601 are ;; valid. expects: false, given true Schema: {"format":"time"} Data: ;; "01:01:01,1111" - #:test-flags #~(list "-skip" "TestFormats") + #:test-flags #~(list "-skip" "TestFormats" + "-vet=off") #:import-path "github.com/xeipuuv/gojsonschema")) (native-inputs (list go-github-com-stretchr-testify)) @@ -17386,7 +17386,6 @@ the code or routes.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "maunium.net/go/mautrix" #:embed-files #~(list @@ -17410,7 +17409,8 @@ the code or routes.") "TestResolveServerName/RM_Step_4" "TestResolveServerName/RM_Step_4_MSC4040" "TestResolveServerName/maunium") - "|")))) + "|") + "-vet=off"))) ;; XXX: The final application needs a "libolm" package. (native-inputs (list olm)) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 34c74f4a6a..fd000a0574 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -6370,7 +6370,6 @@ structs in the Go programming language.") (arguments (list ;; See . - #:go go-1.23 #:import-path "github.com/d5/tengo/v2" #:phases #~(modify-phases %standard-phases @@ -6379,7 +6378,8 @@ structs in the Go programming language.") (with-directory-excursion (string-append "src/" import-path) (let* ((data (string-append #$output:doc "/share")) (doc (string-append data "/doc/" #$name "-" #$version))) - (copy-recursively "docs/" doc)))))))) + (copy-recursively "docs/" doc)))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/d5/tengo") (synopsis "Script language for Go") (description @@ -10010,7 +10010,6 @@ size.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/godbus/dbus" #:phases #~(modify-phases %standard-phases @@ -10022,7 +10021,9 @@ size.") "go" "test" "./..." ;; Disable tests which require a system D-Bus ;; instance. - "-skip" "TestSystemBus|TestConnectSystemBus")))))))) + "-skip" "TestSystemBus|TestConnectSystemBus" + ;; Disable go vet + "-vet=off")))))))) (native-inputs (list dbus)) ;dbus-launch (home-page "https://github.com/godbus/dbus/") @@ -11494,7 +11495,6 @@ expressing configuration which is easy for both humans and machines to read.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/hashicorp/hcl/v2" #:test-flags #~(list "-skip" @@ -11502,7 +11502,8 @@ expressing configuration which is easy for both humans and machines to read.") (list "TestExpressionParseAndValue/.*unk.*" "TestFunctionCallExprValue/valid_call_with_unknown_arg.*" "TestFunctionCallExprValue/valid_call_with_dynamic_arg") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-davecgh-go-spew go-github-com-go-test-deep @@ -12027,12 +12028,12 @@ better way of handling YAML when marshaling to and from structs.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/itchyny/go-flags" ;; Test is time dependent and not reproducible. ;; -.TH TestMan 1 "1 January 1970" ;; +.TH TestMan 1 "26 June 2025" - #:test-flags #~(list "-skip" "TestMan"))) + #:test-flags #~(list "-skip" "TestMan" + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/itchyny/go-flags") @@ -12971,9 +12972,9 @@ Golang.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/jedib0t/go-pretty/v6")) + #:import-path "github.com/jedib0t/go-pretty/v6" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-pkg-profile ; for the CLI go-github-com-stretchr-testify)) @@ -13031,9 +13032,9 @@ hierarchies of @code{map[string]interface{}} objects provided by the (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/jessevdk/go-flags" - #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion"))) + #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion" + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/jessevdk/go-flags") @@ -16238,7 +16239,6 @@ string.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/mattn/go-shellwords" #:phases #~(modify-phases %standard-phases @@ -16246,7 +16246,8 @@ string.") (lambda* (#:key import-path #:allow-other-keys) (substitute* (string-append "src/" import-path "/util_posix.go") - (("/bin/sh") (which "sh")))))))) + (("/bin/sh") (which "sh")))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/mattn/go-shellwords") (synopsis "Parse lines into shell words") (description "This package parses text into shell arguments. Based on @@ -17193,14 +17194,14 @@ https://github.com/syndtr/gocapability.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/moby/sys/mountinfo" #:unpack-path "github.com/moby/sys" #:test-flags #~(list "-skip" (string-join (list "TestMountedBy/not_mounted_socket" "TestMountedBy/socket_bind-mounted_to_itself") - "|")))) + "|") + "-vet=off"))) (propagated-inputs (list go-golang-org-x-sys)) (home-page "https://github.com/moby/sys") (synopsis "Retrieve information about OS mounts") @@ -18454,9 +18455,9 @@ pretty printed rendering in Golang.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t - #:import-path "github.com/nlpodyssey/spago")) + #:import-path "github.com/nlpodyssey/spago" + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify)) (propagated-inputs @@ -20132,7 +20133,6 @@ on top of the standard library @code{flag} package.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/pingcap/errors" #:test-flags #~(list "-skip" (string-join @@ -20147,7 +20147,8 @@ on top of the standard library @code{flag} package.") "TestFrameLine" "TestStackTrace" "TestStackTraceFormat") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-pkg-errors)) (home-page "https://github.com/pingcap/errors") @@ -20290,9 +20291,9 @@ https://en.wikipedia.org/wiki/Extended_file_attributes}.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/pmezard/go-difflib/difflib" - #:unpack-path "github.com/pmezard/go-difflib/")) + #:unpack-path "github.com/pmezard/go-difflib/" + #:test-flags #~(list "-vet=off"))) (home-page "https://github.com/pmezard/go-difflib") (synopsis "Go diff implementation") (description @@ -21064,8 +21065,8 @@ logging.") (base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7")))) (arguments (list - #:go go-1.23 - #:import-path "github.com/russross/blackfriday/v2")))) + #:import-path "github.com/russross/blackfriday/v2" + #:test-flags #~(list "-vet=off"))))) (define-public go-github-com-rvflash-elapsed (package @@ -26835,7 +26836,6 @@ written in YAML or JSON.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "go.mongodb.org/mongo-driver" #:test-flags #~(list "-skip" @@ -26852,7 +26852,8 @@ written in YAML or JSON.") "TestTimeCodec" "TestTopologyConstructionLogging" "TestURIOptionsSpec") - "|")) + "|") + "-vet=off") #:test-subdirs #~(list "bson/..." "event/..." "internal/..." "tag/..." "x/...") #:phases @@ -27320,7 +27321,6 @@ organization}.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:skip-build? #t #:import-path "go4.org" #:test-subdirs @@ -27356,7 +27356,8 @@ organization}.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (for-each delete-file - (find-files "." "example.*_test\\.go$")))))))) + (find-files "." "example.*_test\\.go$")))))) + #:test-flags #~(list "-vet=off"))) (propagated-inputs (list ;; go-cloud-google-com-go ;; go-cloud-google-com-go-storage @@ -28236,7 +28237,6 @@ split out here for ease of reuse and maintainability.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "k8s.io/klog/v2" #:test-flags #~(list "-skip" @@ -28246,7 +28246,8 @@ split out here for ease of reuse and maintainability.") "TestDestinationsWithDifferentFlags/with_log_dir_only" "TestDestinationsWithDifferentFlags/with_log_dir_only_and_one_output" "TestDestinationsWithDifferentFlags/with_log_file_and_log_dir") - "|")) + "|") + "-vet=off") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'remove-examples @@ -29462,14 +29463,14 @@ libraries.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "sigs.k8s.io/kustomize/kyaml" #:unpack-path "sigs.k8s.io/kustomize" #:test-flags #~(list "-skip" (string-join (list "TestCommandResultsChecker_UpdateExpectedFromActual" "TestProcessorResultsChecker_UpdateExpectedFromActual") - "|")))) + "|") + "-vet=off"))) (native-inputs (list go-github-com-stretchr-testify go-github-com-davecgh-go-spew)) @@ -29787,9 +29788,9 @@ helpful utility functions, and makes testing fairly easy.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "zgo.at/zstd" - #:test-flags #~(list "-skip" "TestExists/4"))) + #:test-flags #~(list "-skip" "TestExists/4" + "-vet=off"))) (home-page "https://github.com/arp242/zstd") (synopsis "Extensions to Go's standard library") (description diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 78390c1dce..2c22001904 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -1240,7 +1240,6 @@ seen, tell, and what.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "codeberg.org/emersion/soju" #:phases @@ -1265,7 +1264,8 @@ seen, tell, and what.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (setenv "PREFIX" #$output) - (invoke "make" "install"))))))) + (invoke "make" "install"))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-codeberg-org-emersion-go-scfg go-git-sr-ht-emersion-go-sqlite3-fts5 diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 2f77f23d65..b8fb0e467c 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -157,7 +157,6 @@ (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/99designs/aws-vault" #:build-flags @@ -187,7 +186,8 @@ ;; denied. (add-before 'check 'set-home (lambda _ - (setenv "HOME" "/tmp")))))) + (setenv "HOME" "/tmp")))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-99designs-keyring go-github-com-alecthomas-kingpin-v2 diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 17ee361da6..0a7865cb10 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -183,7 +183,6 @@ extensions over the standard utility.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/zyedidia/micro/v2/cmd/micro" #:unpack-path "github.com/zyedidia/micro/v2" @@ -208,7 +207,8 @@ extensions over the standard utility.") (add-before 'build 'go-generate (lambda _ (invoke "go" "generate" "-v" "-x" - "github.com/zyedidia/micro/v2/runtime")))))) + "github.com/zyedidia/micro/v2/runtime")))) + #:test-flags #~(list "-vet=off"))) (inputs (list go-github-com-blang-semver go-github-com-dustin-go-humanize go-github-com-go-errors-errors diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 98196bec3a..aff990292d 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4704,7 +4704,6 @@ developer workflow, and project and release management.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "git.sr.ht/~xenrox/hut" #:phases #~(modify-phases %standard-phases @@ -4718,7 +4717,8 @@ developer workflow, and project and release management.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (invoke "make" "install" - (string-append "PREFIX=" #$output)))))))) + (string-append "PREFIX=" #$output)))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list scdoc)) (inputs diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 054c03215c..2ee75b95a7 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3516,7 +3516,6 @@ playlists.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:install-source? #f #:import-path "github.com/Kethsar/ytarchive" #:embed-files #~(list "children" "nodes" "text") @@ -3527,7 +3526,8 @@ playlists.") (wrap-program (string-append #$output "/bin/ytarchive") `("PATH" ":" prefix (,(string-append #$(this-package-input "ffmpeg") - "/bin/ffmpeg"))))))))) + "/bin/ffmpeg"))))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-alessio-shellescape go-github-com-dannav-hhmmss diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index a867e9fc9b..f4066f7d85 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -795,7 +795,6 @@ history, and page outlines.") (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "tildegit.org/sloum/bombadillo" #:install-source? #f #:phases @@ -812,7 +811,8 @@ history, and page outlines.") (with-directory-excursion builddir (install-file "bombadillo.desktop" appdir) (install-file "bombadillo.1" mandir) - (install-file "bombadillo-icon.png" pixdir)))))))) + (install-file "bombadillo-icon.png" pixdir)))))) + #:test-flags #~(list "-vet=off"))) (home-page "https://bombadillo.colorfield.space") (synopsis "Terminal browser for the gopher, gemini, and finger protocols") (description "Bombadillo is a non-web browser for the terminal with diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 65d80a58f3..50f6588f52 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1573,7 +1573,7 @@ project) (delete-file-recursively "vendor"))))) (build-system go-build-system) (arguments - (list #:go go-1.23 + (list #:import-path "github.com/adnanh/webhook" #:phases #~(modify-phases %standard-phases @@ -1583,7 +1583,8 @@ project) (("/bin/echo") (search-input-file inputs "bin/echo")) (("/bin/sh") - (search-input-file inputs "bin/sh")))))))) + (search-input-file inputs "bin/sh")))))) + #:test-flags #~(list "-vet=off"))) (native-inputs (list go-github-com-clbanning-mxj-v2 go-github-com-coreos-go-systemd-v22