From patchwork Sun Jun 30 09:05:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65787 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C168327BBEA; Sun, 30 Jun 2024 10:09:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5C8CA27BBE2 for ; Sun, 30 Jun 2024 10:09:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNqXW-0006D6-S2; Sun, 30 Jun 2024 05:08:06 -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 1sNqXV-0006Be-2A for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:05 -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 1sNqXU-0001en-Qq for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNqXU-0001t0-J1 for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 09:08:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71843 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71843@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 71843-submit@debbugs.gnu.org id=B71843.17197384527024 (code B ref 71843); Sun, 30 Jun 2024 09:08:04 +0000 Received: (at 71843) by debbugs.gnu.org; 30 Jun 2024 09:07:32 +0000 Received: from localhost ([127.0.0.1]:55015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWx-0001p3-Fp for submit@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:31 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:58856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWs-0001nk-DK for 71843@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:27 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-424aa70fbc4so13978885e9.1 for <71843@debbugs.gnu.org>; Sun, 30 Jun 2024 02:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719738386; x=1720343186; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jzgoly7nUljQWueGBlMRDGUhfHJr5gRIrB2lZEpwzVc=; b=NiLPdvw0ahdT3KumWFuBrBnNWxw5lclNkJmxO+7uqeRLdAF7bsrDZINy429IEAaUlI EHB6R/5doCeuPfBLZOispA68PBgPVV+R+U2MqyFP3x09huiQfT+diHFbVRQDiu6wP38g Ml9g8WRg1oQppuWAmcy/5cnqLUySvLMPISzc+eQPLBvfF/znQdauoB4ZabgI+LRpUKE9 wcNzG9qVJ9FBgGQ0q9/RtjDwYNA2HolhlZCSmkMzbSp3iYvdo3NpDzhD1L5njNouXNhz SPJQ5QgZaaYw0qclMrqSQOteQI6iQP9vx01XOPmfALRjbbdN0tdyFIzaYwFKRk+IO/HK JctA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719738386; x=1720343186; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jzgoly7nUljQWueGBlMRDGUhfHJr5gRIrB2lZEpwzVc=; b=vPwWlmP3a8nFrU4cctV6271UMdtqn7Xa3hL+APbhBo6Kp/bpvIL9qO5jnkDMB0mLg3 cH+GSlv7KIop9mC+LqcJJPJn/ZiEem4MW9q0maBc3dlNP/fPcHjxy62yGTlMaeiCr1dV J9uoNSc+JT6P2gQZnPJZ8Wyl5hFNW+zNqY9dNe1MwDHtO0z8WmrX7fTSI5x+rSGEgIed +RLbvWsYpZ9LSfYtr2EJmvn2I1vGbR4dCdDRXn/CHP+/IFPrv0wa90soed71ZhO6SwJ3 lUZf87S2qIulcNTr/GzbXZHCvq0tIU4eHSO7KgpqsRIbWkvROG9h35jtArtNFnxzNkvS c/rA== X-Gm-Message-State: AOJu0YwbPHw6IbZ0blEVMN7o4nC+E6gTtbXP0wQtnHMtgxl0YMXP20Ic Pj2PvrDS1iqmrUZmnX7iwHMhozZk2qk6SZVQ2aSGixHRT9SbobfDxmQkwwO1 X-Google-Smtp-Source: AGHT+IGrcQnyGslv/CvRu6VkpvHy4Mmzxnt4PqY36I61/v/g27tXyyGK6QjyqEd7L8BcTLrFlSTePA== X-Received: by 2002:a05:600c:3595:b0:425:5e8b:679f with SMTP id 5b1f17b1804b1-4257a02d4ddmr20784235e9.6.1719738385912; Sun, 30 Jun 2024 02:06:25 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af5b66csm103446845e9.18.2024.06.30.02.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 02:06:25 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 30 Jun 2024 10:05:51 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-xyz.scm (go-github-com-remeh-sizedwaitgroup): New variable. Change-Id: Icabe407a0aefef2728e331be87e239b7683512cd --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0208063845..e7fabd6b94 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3663,6 +3663,33 @@ (define-public go-github-com-rcrowley-go-metrics (home-page "https://github.com/rcrowley/go-metrics") (license license:bsd-2)))) +(define-public go-github-com-remeh-sizedwaitgroup + (package + (name "go-github-com-remeh-sizedwaitgroup") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/remeh/sizedwaitgroup") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xwdzby27xzcghsqhli3il165iz3vkx3g4abgvkl99wysyhcvn0a")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/remeh/sizedwaitgroup")) + (home-page "https://github.com/remeh/sizedwaitgroup") + (synopsis "Goroutines limit amount implementation of standard @code{sync.WaitGroup}") + (description + "This package implements a feature of limiting the maximum number of +concurrently started routines which has the same role and API as +@code{sync.WaitGroup}. It could for example be used to start multiples +routines querying a database but without sending too much queries in order to +not overload the given database.") + (license license:expat))) + (define-public go-github-com-schollz-progressbar-v3 (package (name "go-github-com-schollz-progressbar-v3")