From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGlSF8p46GCQwgAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 18:26:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6M0TE8p46GCfRwAAB5/wlQ (envelope-from ) for ; Fri, 09 Jul 2021 16:26:50 +0000 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 16F3B9CE2 for ; Fri, 9 Jul 2021 18:26:50 +0200 (CEST) Received: from localhost ([::1]:48674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tKy-0004lP-Uc for larch@yhetil.org; Fri, 09 Jul 2021 12:26:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tEQ-0005vL-Ko for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tEQ-0005Wm-CE for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tEQ-0004Ji-6S for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584758816524 (code B ref 49494); Fri, 09 Jul 2021 16:20:02 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:48 +0000 Received: from localhost ([127.0.0.1]:59576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEC-0004IR-4b for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:48 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE8-0004Hj-Qz for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=T72sRKdNBj9vaqHXn5fj4BCw/XszRRh8BfG5O66JRNs=; b=QQ+5hi0cQoOM70LZnl3BBXTjOu HomPnH/E9tYi2XiUn4CAd376hXS2OI89jtEJO8witRdoS8eIsGhTwuLA7RvwxXxn7HUJLQI5rjOcs ELArg2R4OzSLQDAFAisHgCYaoYUid2PMQni3oY32xnIX/7QOqD5Jvert+MpBtTmAw5XXvwWye4Cbq sWwIt+e9IK/FTzPQ2BfZoHEwa3bP9cMToEkdHBVBXCXEk0Kev8NOp/b1uoWaDreCgLQuwwaC+i3yv vVBqKoVtrnL8spMlSZuxngVwFRmToh+H/NokO83rT5eyhyOjqc7iWKS0djNbOagpZfIqs8peYbO8e 6QgTx77Q==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE6-000ASF-G3; Fri, 09 Jul 2021 21:49:42 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:35 +0530 Message-Id: <20210709161940.12759-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625848010; 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=T72sRKdNBj9vaqHXn5fj4BCw/XszRRh8BfG5O66JRNs=; b=mNww71094AMHpnzIccpP3XbZLn0pVBg7u50oGnvCSo0tbJszQCOHMl8g/woPKYuVMU+3f4 /yfZq8LBZSltuWz2Nqq0yw0stPHHkpXHUZon1SiKzWqO/AZjq6c7MZHzIrtJx5mKaRJNYz F1y/UUThJgikxIiDDqHaht9ys35hrAxBXdPufzsVtaNRqaAGqzhdp09g13hrpLD69KQFad xmwuxbam+F4E079yab7gBn1anEJCofGZXI2BIt5+R1QDJTPMa9tJdj0sAjrFlOTMkEdRZ8 zcisRqo5kP3cgdttUB+ZwirqSstmmNXVoLJOEAvvtcsTRN1Qvpg/8fWKnD9OkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625848010; a=rsa-sha256; cv=none; b=KDTRDlE/lLqwBzN1acWa0uZYH2lcAktAMMJsa9wxsE6lkdYV/3gKhqzsSRw3lgbp5JucKZ Gqto8OYuryoRMyxLkzoBdLp4rDlD0QM4GPUOeVpIR3+k4C1XtRv6YJc1hFRLGWm7Pw6aA9 vOnEopLRjAcbd3hVwnNHU8EXcJXzLhWBPUjboRGLJKADrJvEHKP4qEjnlBQMocVLCZ17MX O8p7Mpg5tMhJBXkxLOaXbAau6vIGNBIokpAGpjKiowrZatn9uaMO7RgW3sSVDnf9r1A218 ON2BtAzWoBX8mpGaUMleH3+IwMm2+bC3YDvFymm2gRT1SooAR+yV9uitfzC/Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=QQ+5hi0c; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=QQ+5hi0c; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 16F3B9CE2 X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: zYYyJTjEqDoh * gnu/packages/golang.scm (go-github-com-dustin-go-humanize): 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 cbce7bec41..972989c84f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8249,3 +8249,27 @@ Go.") the External Data Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC 1832 and RFC 1014) in pure Go.") (license license:isc))) + +(define-public go-github-com-dustin-go-humanize + (package + (name "go-github-com-dustin-go-humanize") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dustin/go-humanize") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/dustin/go-humanize")) + (home-page "https://github.com/dustin/go-humanize") + (synopsis "Humane unit formatter") + (description "@code{go-humanize} provides formatters for units to human +friendly sizes. It converts boring ugly numbers to human-friendly strings and +back.") + (license license:expat))) -- 2.32.0