gnu: Add erlang-shards.

* gnu/packages/erlang-xyz.scm (erlang-shards): New variable.

Change-Id: I2b719cd5fbf909ebd3db4ce6b4a9359cb9b67b02
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2025-09-12 19:02:58 +02:00 committed by Ludovic Courtès
parent 719d416672
commit 2d7e587294
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -470,6 +470,29 @@ Erlang-based systems.")
(home-page "https://github.com/uwiger/setup") (home-page "https://github.com/uwiger/setup")
(license license:asl2.0))) (license license:asl2.0)))
(define-public erlang-shards
(package
(name "erlang-shards")
(version "1.1.1")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "shards" version))
(sha256
(base32 "1nlfx82x9wpqlhyc5j22xjxdpl1kyhdx71mzbyhwss36mrfh96hn"))))
(build-system rebar-build-system)
(native-inputs
(list erlang-covertool rebar3-ex-doc rebar3-proper))
(arguments
(list
;; FIXME: Tests depend on rebar3-hex, which is not packaged yet.
#:tests? #f))
(synopsis "Partitioned or sharded ETS tables")
(description
"Erlang/Elixir library for partitioned or sharded ETS tables.")
(home-page "https://hexdocs.pm/shards/")
(license license:expat)))
(define-public erlang-sqlite3 (define-public erlang-sqlite3
(package (package
(name "erlang-sqlite3") (name "erlang-sqlite3")