all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 52668@debbugs.gnu.org
Subject: [bug#52668]
Date: Sun, 19 Dec 2021 21:17:51 +0000	[thread overview]
Message-ID: <CAO+9K5o1pm95NhHH2y5W6jQDe2n2Ls9+POv-WZsYp5+Bs+=Vzw@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5qvp+11_ebH+=e+jdVvPpbXUFMQ49Nea8fH=hfLZpgSgw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0003-gnu-Add-Golang-module-tcplisten.patch --]
[-- Type: text/x-patch, Size: 2015 bytes --]

From 2e7e0cba901c7c84f5ed0a7b5d02e40291f6d053 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Sun, 19 Dec 2021 20:55:05 +0000
Subject: [PATCH 3/4] gnu: Add Golang module - tcplisten

* gnu/packages/golang.scm: (go-github-com-valyala-tcplisten): New variable.
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 51ce7329c2..505feb997d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8885,3 +8885,34 @@ (define-public go-github-com-valyala-bytebufferpool
       "Package @code{bytebufferpool} implements a pool of byte buffers with
 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
+      "Package tcplisten provides customizable TCP net.Listener with various
+performance-related options:")
+    (license license:expat)))
-- 
2.34.0


  parent reply	other threads:[~2021-12-19 21:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 21:14 [bug#52668] [PATCH 0/0]: gnu: Add Golang module - fasthttp Sharlatan Hellseher
2021-12-19 21:17 ` [bug#52668] Sharlatan Hellseher
2022-01-28  9:48   ` bug#52668: Nicolas Goaziou
2021-12-19 21:17 ` [bug#52668] Sharlatan Hellseher
2021-12-19 21:17 ` Sharlatan Hellseher [this message]
2021-12-19 21:18 ` [bug#52668] Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO+9K5o1pm95NhHH2y5W6jQDe2n2Ls9+POv-WZsYp5+Bs+=Vzw@mail.gmail.com' \
    --to=sharlatanus@gmail.com \
    --cc=52668@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.