diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-19 15:52:20 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:44 +0200 |
| commit | 6317427a2304f09fe483650ccfcf14c4309943b3 (patch) | |
| tree | c58e5f05c9ed178655ec489afcf491078d22dc1a /gnu | |
| parent | 9d2a0a3aa6acf7c47d503587fba412a683f96879 (diff) | |
gnu: Add elixir-bandit.
* gnu/packages/elixir-web.scm (elixir-bandit): New variable.
Change-Id: I56043a8a4ae4d61a7b0a08ac2191db4fb25da1e7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/elixir-web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm index 140ec4dcc02..d48c20e4501 100644 --- a/gnu/packages/elixir-web.scm +++ b/gnu/packages/elixir-web.scm | |||
| @@ -30,6 +30,33 @@ | |||
| 30 | #:prefix license:) | 30 | #:prefix license:) |
| 31 | #:use-module (guix packages)) | 31 | #:use-module (guix packages)) |
| 32 | 32 | ||
| 33 | (define-public elixir-bandit | ||
| 34 | (package | ||
| 35 | (name "elixir-bandit") | ||
| 36 | (version "1.8.0") | ||
| 37 | (source | ||
| 38 | (origin | ||
| 39 | (method url-fetch) | ||
| 40 | (uri (hexpm-uri "bandit" version)) | ||
| 41 | (sha256 | ||
| 42 | (base32 "08jll47yxkj4n08nh7xm8bm36z077a458j4xlqp2mzr0xm7gyn44")))) | ||
| 43 | (build-system mix-build-system) | ||
| 44 | (arguments | ||
| 45 | ;; Tests depend on elixir-req which is not yet packaged. | ||
| 46 | (list #:tests? #f)) | ||
| 47 | (propagated-inputs | ||
| 48 | (list elixir-hpax | ||
| 49 | elixir-plug | ||
| 50 | erlang-telemetry | ||
| 51 | elixir-thousand-island | ||
| 52 | elixir-websock)) | ||
| 53 | (synopsis "HTTP server built for Plug & WebSock apps") | ||
| 54 | (description | ||
| 55 | "This package provides a pure-Elixir HTTP server built for Plug & @code{WebSock} | ||
| 56 | apps.") | ||
| 57 | (home-page "https://hexdocs.pm/bandit/") | ||
| 58 | (license license:expat))) | ||
| 59 | |||
| 33 | ;; This package lives here to avoid module level circular dependencies as it | 60 | ;; This package lives here to avoid module level circular dependencies as it |
| 34 | ;; depends on elixir-plug. | 61 | ;; depends on elixir-plug. |
| 35 | (define-public elixir-ecto-shorts | 62 | (define-public elixir-ecto-shorts |
