diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-21 21:17:32 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:46 +0200 |
| commit | e1d0e6163e6aac6464b34fe221059c7a38b14ac0 (patch) | |
| tree | d835a11641ff3d6e3cdf41a59828125bab1d29d9 /gnu | |
| parent | f97ff45ff94319fa8328631ca5a75732cef2ae2a (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/elixir-web.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm index 28633d79742..a9580dd3b10 100644 --- a/gnu/packages/elixir-web.scm +++ b/gnu/packages/elixir-web.scm | |||
| @@ -295,6 +295,27 @@ purposes. Its goal is to be as close as possible to | |||
| 295 | (home-page "https://hexdocs.pm/httpoison/") | 295 | (home-page "https://hexdocs.pm/httpoison/") |
| 296 | (license license:expat))) | 296 | (license license:expat))) |
| 297 | 297 | ||
| 298 | (define-public elixir-mint-web-socket | ||
| 299 | (package | ||
| 300 | (name "elixir-mint-web-socket") | ||
| 301 | (version "1.0.4") | ||
| 302 | (source | ||
| 303 | (origin | ||
| 304 | (method url-fetch) | ||
| 305 | (uri (hexpm-uri "mint_web_socket" version)) | ||
| 306 | (sha256 | ||
| 307 | (base32 "14d9c2ryqggl2p54bh0rhm3ab17j6l7ir817rsh4nnn455alqz82")))) | ||
| 308 | (build-system mix-build-system) | ||
| 309 | (arguments | ||
| 310 | ;; Tests depend on gun from hex.pm which is not packaged yet. | ||
| 311 | (list #:tests? #f)) | ||
| 312 | (native-inputs (list elixir-jason erlang-cowboy)) | ||
| 313 | (propagated-inputs (list elixir-mint)) | ||
| 314 | (synopsis "WebSocket support for Mint") | ||
| 315 | (description "HTTP/1 and HTTP/2 @code{WebSocket} support for Mint.") | ||
| 316 | (home-page "https://hexdocs.pm/mint_web_socket/") | ||
| 317 | (license license:asl2.0))) | ||
| 318 | |||
| 298 | (define-public elixir-mint | 319 | (define-public elixir-mint |
| 299 | (package | 320 | (package |
| 300 | (name "elixir-mint") | 321 | (name "elixir-mint") |
