diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2022-01-28 10:46:36 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 10:46:36 +0100 |
commit | 0467ecbe0dda4aead3afdabf7a29e4143d6afa17 (patch) | |
tree | 7f2494faab6932bd281ce34bb17a42e055a713fe /gnu | |
parent | 1d948dbd97e93dec92dd486efbb8075271f3fde9 (diff) | |
download | guix-0467ecbe0dda4aead3afdabf7a29e4143d6afa17.tar.gz |
gnu: Add go-github-com-valyala-tcplisten.
* gnu/packages/golang.scm (go-github-com-valyala-tcplisten): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cf6e60aace..bf8c1445f0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8929,6 +8929,37 @@ non-cryptographic hash algorithm, working at speeds close to RAM limits.") anti-fragmentation protection.") (license license:expat))) +(define-public go-github-com-valyala-tcplisten + (package + (name "go-github-com-valyala-tcplisten") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/valyala/tcplisten") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fv5hxmq1jwrjn1rdjvbmjrrkb601zcdh01qhx6d8l7ss6n05zb8")))) + (build-system go-build-system) + (arguments + ;; NOTE: (Sharlatan-20211218T165504+0000): Tests failing: + ;; + ;; tcplisten_test.go:56: cannot create listener 0 using Config + ;; &tcplisten.Config{ReusePort:false, DeferAccept:false, FastOpen:false, + ;; Backlog:32}: lookup ip6-localhost on [::1]:53: read udp + ;; [::1]:33932->[::1]:53: read: connection refused + ;; + '(#:tests? #f + #:import-path "github.com/valyala/tcplisten")) + (home-page "https://github.com/valyala/tcplisten") + (synopsis "Customizable TCP net.Listener for Go") + (description + "@code{tcplisten} provides customizable TCP net.Listener with various +performance-related options.") + (license license:expat))) + (define-public go-github-com-vmihailenco-msgpack-v4 (package (name "go-github-com-vmihailenco-msgpack-v4") |