[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize.
From: |
Arun Isaac |
Subject: |
[bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize. |
Date: |
Fri, 9 Jul 2021 21:49:35 +0530 |
* 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
- [bug#49494] [PATCH 0/7] Add nncp, Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 1/7] gnu: Add go-github-com-davecgh-go-xdr., Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 2/7] gnu: Add go-github-com-dustin-go-humanize.,
Arun Isaac <=
- [bug#49494] [PATCH 3/7] gnu: Add go-lukechampine-com-blake3., Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 4/7] gnu: Add go-golang-org-x-term., Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 5/7] gnu: Add go-github-com-flynn-noise., Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 7/7] gnu: Add nncp., Arun Isaac, 2021/07/09
- [bug#49494] [PATCH 6/7] gnu: Add go-github-com-klauspost-compress., Arun Isaac, 2021/07/09