diff options
author | Ashvith Shetty <ashvithshetty0010@zohomail.in> | 2025-04-15 23:52:03 +0530 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-05-27 15:13:01 +0200 |
commit | aeef63fd4e932ced126b32d9535aa6d8c5752050 (patch) | |
tree | d252f94d2bf25a703f5fe7056a714f3513a01151 | |
parent | 42f18e1f49d5d9fb22a0230a9fbfb874f8c44d57 (diff) |
gnu: Add go-github-com-axiomhq-hyperloglog.
* gnu/packages/golang-xyz.scm (go-github-com-axiomhq-hyperloglog): New variable.
Change-Id: Ied56075c3483a1a14f6cb8df7c04fd9ab48bb742
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/golang-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a839f2f168..670fc778cf 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1822,6 +1822,38 @@ strategies, such as fixed delay, backoff delay, and random delay.") (delete-file-recursively (string-append "src/" import-path "/examples"))))))))) +(define-public go-github-com-axiomhq-hyperloglog + (package + (name "go-github-com-axiomhq-hyperloglog") + (version "0.2.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/axiomhq/hyperloglog") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a37q1prgpp80a93yx7zxhcam8fznzxvfvz6likfixz0ans2lbav")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.23 + #:import-path "github.com/axiomhq/hyperloglog")) + (propagated-inputs (list go-github-com-stretchr-testify + go-github-com-kamstrup-intmap + go-github-com-dgryski-go-metro + go-github-com-davecgh-go-spew)) + (home-page "https://github.com/axiomhq/hyperloglog") + (synopsis "Algorithm for approximating the number of distinct elements") + (description + "HyperLogLog is an improved version of +@url{https://en.wikipedia.org/wiki/HyperLogLog,HyperLogLog} for the +count-distinct problem, approximating the number of distinct elements in a +multiset. This implementation offers enhanced performance, flexibility, and +simplicity while maintaining accuracy.") + (license license:expat))) + (define-public go-github-com-aymanbagabas-go-osc52-v2 (package (name "go-github-com-aymanbagabas-go-osc52-v2") |