From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EJ75KtWz6mTGOQAA9RJhRA:P1 (envelope-from ) for ; Sun, 27 Aug 2023 04:24:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EJ75KtWz6mTGOQAA9RJhRA (envelope-from ) for ; Sun, 27 Aug 2023 04:24:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D6766F645 for ; Sun, 27 Aug 2023 04:24:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Wg+b5Jcw; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693103061; a=rsa-sha256; cv=none; b=f1Y9ZitTQbBAuJ17Kc+mLiI54KFaQYw7PhdFifpMyTxSAk6vXzEGgWEiGC6JEHuBafacoa XLjJZLhXJpBNC1v3L58QSVP0IhFOMSeX1y8WA6gXaOa61Fs2WdVIL69jXZyUpEICy7+DUp nWZpIPZu1ZtCzT2yC1U1lEJOBYXOhw3yj9e9xSii3nZNQtf+FDei82oUJ9B3y+M8n9Xb5G J7K1c+/H5nFf5GVKhs8NiLYmTdZJKqEYvrfzVp3VYpsy+B6mHw5m9FuwNPg3DLKoQv9JZt DX1uBG2dAjGrNcqBbNyJ+Bi+gdx5foe/7vzqSkAtC5N1+nStpT8pRrhv5XI6jQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Wg+b5Jcw; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693103061; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=IlknPxX4sPNHoUQNciaciq3FE2PpImzmVtW3oVZLg20=; b=LD3D3WxH04FUH2iSsOSmM6jEyEVxc13NJfIZKuuxV3JzFCXEOEAKKzzG55ybnOBKDStWH9 scFkLUv6a5wx/Xa1in/kcH3FNZv84kwmxjVpK89hLIElGNptseHI3rnRDKH0wEM9HcABvj 66ZzvH9bTsb44CFaeVBo7gj5WW/oYkzvm8WwMy1Icg3HVGSxIEIofjfb4FXd+8NXIEfbI9 /GaCiFVOU72SD1QB4C+Xg8ZsXX1Xbqfa7gQdTwOhZVU5AkRMc06BUNoqFlZNWkU5kqL+8G l9ykUBI5KQxOGjjFadYy2gMVvOJG/4YPnUyp+M4HjbdLwntrqAsljalS6Cg+VQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qa5RW-000463-Mc; Sat, 26 Aug 2023 22:23:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qa5RU-00045c-Iq for guix-patches@gnu.org; Sat, 26 Aug 2023 22:23:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qa5RU-00050a-Ai for guix-patches@gnu.org; Sat, 26 Aug 2023 22:23:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qa5RZ-0007dw-QR for guix-patches@gnu.org; Sat, 26 Aug 2023 22:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65118] [PATCH 0/9]: gnu: Add NSQ. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Aug 2023 02:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sharlatan Hellseher Cc: 65118@debbugs.gnu.org Received: via spool by 65118-submit@debbugs.gnu.org id=B65118.169310299629312 (code B ref 65118); Sun, 27 Aug 2023 02:24:01 +0000 Received: (at 65118) by debbugs.gnu.org; 27 Aug 2023 02:23:16 +0000 Received: from localhost ([127.0.0.1]:43700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa5Qq-0007ch-AQ for submit@debbugs.gnu.org; Sat, 26 Aug 2023 22:23:16 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:61621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa5Qn-0007cD-Jp for 65118@debbugs.gnu.org; Sat, 26 Aug 2023 22:23:14 -0400 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-76d93cf8e13so139771385a.2 for <65118@debbugs.gnu.org>; Sat, 26 Aug 2023 19:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693102982; x=1693707782; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=IlknPxX4sPNHoUQNciaciq3FE2PpImzmVtW3oVZLg20=; b=Wg+b5JcwBvabSNNf32nEGb99e/CJWch5wqKIGCw2KsQUn5BohOBzGCwKchasKrn4Lr ytPHcBxWCHWxH7I958zsaQ6qqQa7Dp8xqQaidlA9SQ2F6B7Pc1XZhOUSWurE+GKvIwxw Oslbwc2BbBEf2f+dtmh/sVxCmR+s31t7lKQj5qRkntbcaUBKxPgAcYt+8vkz//Uuceu1 19vnQjwlNdNY5zmieifbsmIV+zI+Pom2NDNkmICxFozvRldyFdhW4tDjZeSx2oitJ9nx vtGB3hSQncl8a4NUSVRNF5xJRdfIK8Iu5mvK89EVqF/skpSWFYjs9Fibdrzr3/VAWW28 GS7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693102982; x=1693707782; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IlknPxX4sPNHoUQNciaciq3FE2PpImzmVtW3oVZLg20=; b=jpp9JbKz/DI7J0mQAMhYPIi0BOow4kXpDgvdA/rFeQUxFv0hWDcx/CEq0p2yur91Fq YJuoqDzQzxTkmbFZeZkxFLIpYj/7bIeXr6e7gAA41sMMm4C6i+yv/XATLorv7AFEtMhJ IN0kQMQqGXENVBkJob7GwTKd6V1dyvnHTu/Tz1iF2Yt2af/A0rdnrE3iLA/qn6vQAc2R uY703pJzTjRZGZxvUA9/PxDJsEaPaOj0fali5bOZ+kXO1G8JDqHNxx8gA4MxIxkTAauh fZD7772hifAANpnh2PqBOTtEN6ZCoc2lOJmgSXRQpwBenqinFiktefgnNNzx2mvJaslV DInA== X-Gm-Message-State: AOJu0YxgcnC1S4Q0gve104LOHPs1Coqa/Bq5G6ZHUsToCeW3A8VeUs4j 7AretlhdemZGCAkWMcoMD2WjExpunHWiug== X-Google-Smtp-Source: AGHT+IFGN6hPtPyZ/BQuoDZOEmuUs1bj2FTSjHmsvB7e6mXMWta0IHr6gksstri+qbVaY3gLs5oWcg== X-Received: by 2002:a05:620a:204c:b0:76d:7a1b:2dd5 with SMTP id d12-20020a05620a204c00b0076d7a1b2dd5mr23016582qka.72.1693102982202; Sat, 26 Aug 2023 19:23:02 -0700 (PDT) Received: from hurd (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id f23-20020ae9ea17000000b0076ef3e6e6a4sm1490611qkg.42.2023.08.26.19.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:23:01 -0700 (PDT) From: Maxim Cournoyer References: Date: Sat, 26 Aug 2023 22:23:00 -0400 In-Reply-To: (Sharlatan Hellseher's message of "Sun, 6 Aug 2023 20:55:35 +0100") Message-ID: <87pm39jkaj.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -5.12 X-Migadu-Queue-Id: 5D6766F645 X-Migadu-Spam-Score: -5.12 X-TUID: YU+58UKkQPiX Sharlatan Hellseher writes: > * gnu/packages/golang.scm (go-github-com-nsqio-go-nsq): New variable. > --- > gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm > index 637e6ebe73..91b1880476 100644 > --- a/gnu/packages/golang.scm > +++ b/gnu/packages/golang.scm > @@ -3205,6 +3205,30 @@ (define-public go-github-com-nsqio-go-diskqueue > "This package provides a Go package providing a filesystem-backed FIFO queue") > (license license:expat))) > > +(define-public go-github-com-nsqio-go-nsq > + (package > + (name "go-github-com-nsqio-go-nsq") > + (version "1.1.0") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/nsqio/go-nsq") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1h9z3z225sdgg7fl3l7x11xn5ch6lm5flgmcj046cdp453qj2qhf")))) > + (build-system go-build-system) > + (arguments > + (list #:tests? #f ;It requires local network setup. > + #:import-path "github.com/nsqio/go-nsq")) > + (propagated-inputs (list go-github-com-golang-snappy)) > + (home-page "https://github.com/nsqio/go-nsq") > + (synopsis "Golang package of high-level Consumer and Produce for NSQ") > + (description "Package nsq is the official Go package for NSQ > +(@url{http://nsq.io/,http://nsq.io/}).") The description should provide more detail than the synopsis, not less :-). I'd use something like this, inspired by [0]. --8<---------------cut here---------------start------------->8--- The @code{nsq} Go module provides a high-level consumer and producer types as well as low-level functions to communicate over the NSQ protocol. --8<---------------cut here---------------end--------------->8--- Another thing; when the URL name is the same as the URL itself, you don't need to repeat it in the @url command. [0] https://pkg.go.dev/github.com/nsqio/go-nsq?utm_source=godoc#section-documentation -- Thanks, Maxim