diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-10 12:44:50 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-21 09:42:20 +0100 |
| commit | b034aa8743268e9e644e0549059e6ad745892c30 (patch) | |
| tree | aa564ecdbd87df5739ae773768e87f64da2bafb1 | |
| parent | 2e400263d3d281b8ac35aa96d8dbdff2a24fea5d (diff) | |
gnu: go-github-com-quic-go-quic-go: Update to 0.54.1.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go): Update to 0.55.0.
[source] <snippet>: Remove submodule with it's own go.mod file.
[arguments] <go>: Use default (go-1.24).
<phases>: Use default 'check as upstream reverted to "go test"; add
'remove-examples, and 'pre-check.
[propagated-inputs]: Add go-github-com-prometheus-client-golang and
go-golang-org-x-tools.
[native-inputs]: Remove go-ginkgo and go-github-com-onsi-ginkgo-v2.
Change-Id: Ifa61a46bb8800332f8a82abcad224ca9dfff30e9
| -rw-r--r-- | gnu/packages/golang-web.scm | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 2d05ad2ab78..0c65c30b3ee 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -9819,54 +9819,49 @@ implementation in the Go standard library}.") (define-public go-github-com-quic-go-quic-go (package (name "go-github-com-quic-go-quic-go") - (version "0.52.0") + (version "0.54.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/quic-go/quic-go") - (commit (string-append "v" version)))) + (url "https://github.com/quic-go/quic-go") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0frcjzrarvk3ck6dhqp88a1cbazw7jb26gxq1wp3lhgmxv4v4m2m")))) + (base32 "025klj0pvnz5c1gbz4i3wb8fxbnyf4q5vz08l7xa7204qzl5njlk")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - test + (delete-file-recursively "integrationtests/gomodvendor"))))) (build-system go-build-system) (arguments (list - #:go go-1.23 #:import-path "github.com/quic-go/quic-go" #:phases #~(modify-phases %standard-phases - ;; Test steps are taken from GitHub Actions - - ;; <https://github.com/quic-go/quic-go/blob/v0.42.0/ - ;; .github/workflows/unit.yml>. - (replace 'check + (add-after 'unpack 'remove-examples (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (setenv "TIMESCALE_FACTOR" "10") - (invoke "ginkgo" "-r" "-v" "--no-color" - (string-append - "--procs=" (number->string - ;; All tests passed on 16 threads - ;; mathine, but fail on - ;; ci.guix.gnu.org. - (if (> (parallel-job-count) 17) - 16 - (parallel-job-count)))) - "--skip-package=integrationtests")))))))) + (with-directory-excursion (string-append "src/" import-path) + (delete-file-recursively "example")))) + (add-before 'check 'pre-check + (lambda* (#:key tests? import-path #:allow-other-keys) + (setenv "TIMESCALE_FACTOR" "10")))))) (native-inputs - (list go-ginkgo - go-github-com-onsi-ginkgo-v2 - go-github-com-stretchr-testify + (list go-github-com-stretchr-testify go-go-uber-org-mock)) (propagated-inputs (list go-github-com-francoispqt-gojay + go-github-com-prometheus-client-golang go-github-com-quic-go-qpack go-golang-org-x-crypto go-golang-org-x-exp go-golang-org-x-net go-golang-org-x-sync - go-golang-org-x-sys)) + go-golang-org-x-sys + go-golang-org-x-tools)) (home-page "https://github.com/quic-go/quic-go") (synopsis "QUIC in Go") (description |
