From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aPoyOBhoGWSZ6wAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 09:17:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mAlKNxhoGWRZQQEAG6o9tA (envelope-from ) for ; Tue, 21 Mar 2023 09:17:28 +0100 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 B16541DEF for ; Tue, 21 Mar 2023 09:17:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peXB7-0002gG-5k; Tue, 21 Mar 2023 04:17:09 -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 1peXB0-0002fD-8t for guix-patches@gnu.org; Tue, 21 Mar 2023 04:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peXAz-0003tT-Up for guix-patches@gnu.org; Tue, 21 Mar 2023 04:17:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peXAz-0000Ml-PY for guix-patches@gnu.org; Tue, 21 Mar 2023 04:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62310] [PATCH v2 2/4] gnu: Add go-github-com-schollz-progressbar-v3. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62310@debbugs.gnu.org Cc: Sergey Trofimov Received: via spool by 62310-submit@debbugs.gnu.org id=B62310.16793865921333 (code B ref 62310); Tue, 21 Mar 2023 08:17:01 +0000 Received: (at 62310) by debbugs.gnu.org; 21 Mar 2023 08:16:32 +0000 Received: from localhost ([127.0.0.1]:57530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peXAV-0000LO-2Z for submit@debbugs.gnu.org; Tue, 21 Mar 2023 04:16:31 -0400 Received: from mail-ed1-f41.google.com ([209.85.208.41]:44860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peXAT-0000LB-8b for 62310@debbugs.gnu.org; Tue, 21 Mar 2023 04:16:30 -0400 Received: by mail-ed1-f41.google.com with SMTP id eh3so56324374edb.11 for <62310@debbugs.gnu.org>; Tue, 21 Mar 2023 01:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1679386583; 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=VF6NwiWfi9t4UAbFZdyqkl8seDtSMP/P7ISmIqog6Sk=; b=VJXxy4WGCV6ONql6ulz4mja3fXPDPMtjCr8k5Fmcdr/oAe2oSElKU2cxSL+5zmaaf6 e2pEmRVFKQRbBwl4TktrdG2TjgIQeM/35yWnoUgZkubO2TkuZVvyFJJD+q9odHu4OYGc xEMvQAulg56KkhqklYoo7JJzWznUZNbeO6tLo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679386583; 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=VF6NwiWfi9t4UAbFZdyqkl8seDtSMP/P7ISmIqog6Sk=; b=vPxwu7jUQmDYHx/XZIZlNx0ySMM3mSy4TtU+7aWUNfeU6Anuy5xDOFnuzkv/dILGe3 WGLnA32EMftEPib+m9ssiX8+jyzMy00kIqxhvVBMpmZbbBdKjKyymh5S42qp5GSeGN3F 2230gGDbSeoabGtTCN7x9G+zsLZVLOxf2mhCEJqT9DqMw3q+jIvLF3qouPpx/+P130JG qO8AevVHBpFlbJp4nFPw+juSrIGsWn1c4cOS5n8cODBqR6rP5BdF+P9GS1bIvNtsVGC8 tN4xX14QQ+bbFnv20PqNSY1GECD5IXWm194pMeL5nEng8P6ew6fjugFkYdlPJ/2c5mWU SUcA== X-Gm-Message-State: AO0yUKUlrzhs8OvfYo/poUiv5xkJFsTX09/mlAFnhPpcT+dIyUrCsPBu hTKbhcgIeBnbqJvlroJKAh39+h8Yr/d1Qh8/77/Glw== X-Google-Smtp-Source: AK7set9Ook2s/xc+orQzXAKasVpqzYdE1gNOoY5kC5FuFoSYnUDRsWLhtya+m9PExvtl4llTryIQkA== X-Received: by 2002:aa7:dd44:0:b0:4fd:2346:7225 with SMTP id o4-20020aa7dd44000000b004fd23467225mr2091679edw.34.1679386583069; Tue, 21 Mar 2023 01:16:23 -0700 (PDT) Received: from localhost ([95.168.147.255]) by smtp.gmail.com with ESMTPSA id r3-20020a50aac3000000b004fccef39ec9sm5943181edc.70.2023.03.21.01.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 01:16:22 -0700 (PDT) From: Sergey Trofimov Date: Tue, 21 Mar 2023 09:16:38 +0100 Message-Id: <20230321081640.16012-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230321080457.12236-1-sarg@sarg.org.ru> References: <20230321080457.12236-1-sarg@sarg.org.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679386648; a=rsa-sha256; cv=none; b=pJ48lbZY7NhHvJUZhC1nHJdKTqCM+FcAr8KN8gI4t1QuYATozQW2qoOmkFFVUGlom7qYYW lfmDvEuBLnJ46FO4igdKc3cPbIiqgHDCWwSA5hyxfzAG9CSO13/Cf2GPdXbFYUKdcwQ8DW fzj4WVTc6Iom2c1idH8/oHLbhYBkyDb/GRLRgax/p8AeAPBsXEonD2w3iTueClZpgGPJe9 tcqSf0d+f4D5RDg8z/negEf0Y8olzG2kW6QbSn6wKZpGfUTl4cF/So6ee3EO+B3O9exxwy 7720lu8pj2fINDLRKausRnKXFxAdDon1wIGNucWQakj4n8+xe7EPnZbFrBv10w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=VJXxy4WG; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679386648; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=VF6NwiWfi9t4UAbFZdyqkl8seDtSMP/P7ISmIqog6Sk=; b=VG+qXiQGS2tKLBdQh+jJwuLCDZr+Pr8ikktURjUccZ82Wex04XMpld8iBchaIYjx2NHrCH 2+pFSWu/dNGRzThr0fHYuDZfuM+gskE99UVPGA7A3cuWnNgWpWplEFJDLMD291YbODqcju ffzXrIgKcf6nIwMPcwQPQUVyJjBLMfW+7r41xl3hB73RRYNTl06dgvPeRWXSLhRh1GywVi y/zwxJ0Y9lgb9o0eYEHL8UDHTi68c47VeyG8l0aod+ol2W2dEYlCS6V/PvCvLLWKcG9SgM KK8aolstTy4PqV8OP4KSb9RJVuhqSyq0va30Gg11csq7P76tN2NixQFdxWGBIg== X-Migadu-Spam-Score: 2.25 X-Spam-Score: 2.25 X-Migadu-Queue-Id: B16541DEF Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=VJXxy4WG; dmarc=none; 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" X-Migadu-Scanner: scn1.migadu.com X-TUID: gXO0OhqfJsVr * gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): New variable. --- gnu/packages/golang.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3ac4863e85..8f0e202d71 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11326,6 +11326,47 @@ (define-public go-github-com-mitchellh-colorstring "Colorstring provides functions for colorizing strings for terminal output.") (license license:expat))) +(define-public go-github-com-schollz-progressbar-v3 + (package + (name "go-github-com-schollz-progressbar-v3") + (version "3.13.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schollz/progressbar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hjahr5r52i7w6iyvl3rpzr46iignhfdh4694fl7m2b4gkaw9gd6")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/schollz/progressbar/v3" + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + ;; tests in the full suite require internet access + (invoke "go" "test" "-test.short" import-path)) + #t))))) + (propagated-inputs + (list go-golang-org-x-term + go-github-com-stretchr-testify + go-github-com-mitchellh-colorstring + go-github-com-mattn-go-runewidth + go-github-com-mattn-go-isatty + go-github-com-davecgh-go-spew)) + (home-page "https://github.com/schollz/progressbar") + (synopsis "Simple CLI progress bar") + (description + "This package provides a very simple thread-safe progress bar. The +@code{progressbar} implements an @code{io.Writer} so it can automatically detect the +number of bytes written to a stream, so you can use it as a progressbar for an +@code{io.Reader}. When progressbar length is undetermined a customizable spinner is +shown.") + (license license:expat))) + (define-public go-git-sr-ht-emersion-go-scfg (package (name "go-git-sr-ht-emersion-go-scfg") -- 2.39.2