guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a08274e30339a6a46c3ffd404b711f3a6e831a21
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Feb 15 21:35:05 2026 +0000
gnu: Add go-github-com-clarkduvall-hyperloglog.
* gnu/packages/golang-maths.scm (go-github-com-clarkduvall-hyperloglog):
New variable.
Change-Id: Iefae1148b4cd9f439e90d3d2e3575b677752a7dd
---
gnu/packages/golang-maths.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index 207d9cd694..fc21f1fc50 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -179,6 +179,35 @@ checks for divisors known only at runtime based on paper:
Applications to Compilers and Software Libraries}.")
(license license:expat)))
+(define-public go-github-com-clarkduvall-hyperloglog
+ (package
+ (name "go-github-com-clarkduvall-hyperloglog")
+ (version "0.0.0-20171127014514-a0107a5d8004")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clarkduvall/hyperloglog")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1aglrb6m2lqkmqv7p44xcfmpmplnymlvwc0p4g6y7pxx4n1jipzm"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/clarkduvall/hyperloglog"
+ #:test-flags #~(list "-vet=off")))
+ (home-page "https://github.com/clarkduvall/hyperloglog")
+ (synopsis "HyperLogLog and HyperLogLog++ implementation in Golang")
+ (description
+ "Package hyperloglog implements the
+@url{https://en.wikipedia.org/wiki/HyperLogLog, @code{HyperLogLog}} and
+@code{HyperLogLog++} cardinality estimation algorithms. These algorithms are
+used for accurately estimating the cardinality of a multiset using constant
+memory. @code{HyperLogLog++} has multiple improvements over
+@code{HyperLogLog}, with a much lower error rate for smaller cardinalities.")
+ (license license:expat)))
+
(define-public go-github-com-cockroachdb-apd
(package
(name "go-github-com-cockroachdb-apd")