From 294b49ddc1b7c5ffd8ba1eb42b32e41edac1bcab Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 10 Sep 2025 18:23:48 +0200 Subject: [PATCH] gnu: Add erlang-ranch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/erlang-xyz.scm (erlang-ranch): New variable. Change-Id: I38d6ae08444ae214e13eb27b5aed8e29a9121786 Signed-off-by: Ludovic Courtès --- gnu/packages/erlang-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm index 39408349fb0..230fa2f071b 100644 --- a/gnu/packages/erlang-xyz.scm +++ b/gnu/packages/erlang-xyz.scm @@ -278,6 +278,24 @@ Erlang and Elixir.") (home-page "https://hex.pm/packages/p1_pgsql") (license license:asl2.0))) +(define-public erlang-ranch + (package + (name "erlang-ranch") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "ranch" version)) + (sha256 + (base32 "1rzqykpqfiwagmym523yzzxk5bmxsfl9x9cp8652300cg2hrj2zs")))) + (build-system rebar-build-system) + (synopsis "Socket acceptor pool for TCP protocols.") + (description "Ranch aims to provide everything you need to accept TCP +connections with a small code base and low latency while being easy to use +directly as an application or to embed into your own.") + (home-page "https://hex.pm/packages/ranch") + (license license:isc))) + (define-public erlang-sqlite3 (package (name "erlang-sqlite3")