gnu: Add elixir-mint-web-socket.

* gnu/packages/elixir-web.scm (elixir-mint-web-socket): New variable.

Change-Id: I32db07a0d044b21f7f7ba7c9e01e316f4ecf0d0d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2025-09-21 21:17:32 +02:00 committed by Ludovic Courtès
parent f97ff45ff9
commit e1d0e6163e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -295,6 +295,27 @@ purposes. Its goal is to be as close as possible to
(home-page "https://hexdocs.pm/httpoison/")
(license license:expat)))
(define-public elixir-mint-web-socket
(package
(name "elixir-mint-web-socket")
(version "1.0.4")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "mint_web_socket" version))
(sha256
(base32 "14d9c2ryqggl2p54bh0rhm3ab17j6l7ir817rsh4nnn455alqz82"))))
(build-system mix-build-system)
(arguments
;; Tests depend on gun from hex.pm which is not packaged yet.
(list #:tests? #f))
(native-inputs (list elixir-jason erlang-cowboy))
(propagated-inputs (list elixir-mint))
(synopsis "WebSocket support for Mint")
(description "HTTP/1 and HTTP/2 @code{WebSocket} support for Mint.")
(home-page "https://hexdocs.pm/mint_web_socket/")
(license license:asl2.0)))
(define-public elixir-mint
(package
(name "elixir-mint")