diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2025-10-22 19:19:22 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-09 09:10:03 +0000 |
| commit | 69325e3bc94d3c12148c36e5ffb4678ffa5cecb2 (patch) | |
| tree | fd7e401ad56913a614d43411108e35e16881830f | |
| parent | e3e840f70e8cc942cb4059bfefa4c7c7f6eaae50 (diff) | |
gnu: Add go-github-com-serialx-hashring.
* gnu/packages/golang-crypto.scm (go-github-com-serialx-hashring): New variable.
Change-Id: If0d0c8201b0a11d76d5b83e458bff6fd30615eee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/golang-crypto.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 0548fc2b06b..14b29a65204 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -2396,6 +2396,35 @@ Boneh and Victor Shoup's cryptography book} (pg 789, PAKE2 protocol).") seed} Go's random number generator (if possible).") (license license:expat))) +(define-public go-github-com-serialx-hashring + (package + (name "go-github-com-serialx-hashring") + (version "0.0.0-20200727003509-22c0c7ab6b1b") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/serialx/hashring") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dbqc69z6hjqvvbbls97cizb3rixil67jq37fnjw2pkf0zhs9i4q")))) + (build-system go-build-system) + (arguments + (list + #:test-flags + #~(list "-vet=off") ;Go@1.24 forces vet, but tests are not ready yet. + #:import-path "github.com/serialx/hashring")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/serialx/hashring") + (synopsis "Consistent hashing for Golang") + (description + "This package implements consistent hashing that can be used when the + number of server nodes increase or decrease (like in memcached). The hashing +ring is built using the same algorithm as libketama.") + (license license:expat))) + (define-public go-github-com-shadowsocks-go-shadowsocks2 (package (name "go-github-com-shadowsocks-go-shadowsocks2") |
