diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-09-19 15:47:14 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-30 08:43:44 +0200 |
| commit | a8043dde2cdd8f16337bcbf4fa5791d931aa4ed0 (patch) | |
| tree | 6f01d757cb7558b11c1c46f1da991a6154cd15ec /gnu/packages/elixir-web.scm | |
| parent | e7dbbb9a7eba915b7ead8c7fab40f2683b5a0c50 (diff) | |
gnu: Add elixir-mint.
* gnu/packages/elixir-web.scm (elixir-mint): New variable.
Change-Id: I35c7043a62b457a16c1711a74728c255a986874e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/elixir-web.scm')
| -rw-r--r-- | gnu/packages/elixir-web.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm index 42fb36d1680..6f4d1a5c0ec 100644 --- a/gnu/packages/elixir-web.scm +++ b/gnu/packages/elixir-web.scm | |||
| @@ -119,6 +119,36 @@ the HPACK protocol (RFC 7541) for Elixir.") | |||
| 119 | (home-page "https://hexdocs.pm/hpax/") | 119 | (home-page "https://hexdocs.pm/hpax/") |
| 120 | (license license:asl2.0))) | 120 | (license license:asl2.0))) |
| 121 | 121 | ||
| 122 | (define-public elixir-mint | ||
| 123 | (package | ||
| 124 | (name "elixir-mint") | ||
| 125 | (version "1.7.1") | ||
| 126 | (source | ||
| 127 | (origin | ||
| 128 | (method url-fetch) | ||
| 129 | (uri (hexpm-uri "mint" version)) | ||
| 130 | (sha256 | ||
| 131 | (base32 "06r3kb9vkzpx8lgp6fjngaxz9hzidl8sw91hxvfh2hzjs2ja1szw")))) | ||
| 132 | (build-system mix-build-system) | ||
| 133 | (arguments | ||
| 134 | ;; Tests depend on elixir-mox which is not packaged yet. | ||
| 135 | (list #:tests? #f)) | ||
| 136 | (native-inputs | ||
| 137 | (list elixir-excoveralls)) | ||
| 138 | (propagated-inputs (list elixir-castore elixir-hpax)) | ||
| 139 | (synopsis "Functional HTTP client for Elixir with support for HTTP/1 and | ||
| 140 | HTTP/2") | ||
| 141 | (description "Mint is different from most Erlang and Elixir HTTP clients | ||
| 142 | because it provides a process-less architecture. Instead, Mint is based on a | ||
| 143 | functional and immutable data structure that represents an HTTP connection. | ||
| 144 | |||
| 145 | This data structure wraps a TCP or SSL socket. This allows for more | ||
| 146 | fine-tailored architectures where the developer is responsible for wrapping the | ||
| 147 | connection struct, such as having one process handle multiple connections or | ||
| 148 | having different kinds of processes handle connections.") | ||
| 149 | (home-page "https://hexdocs.pm/mint/") | ||
| 150 | (license license:asl2.0))) | ||
| 151 | |||
| 122 | (define-public elixir-plug-crypto | 152 | (define-public elixir-plug-crypto |
| 123 | (package | 153 | (package |
| 124 | (name "elixir-plug-crypto") | 154 | (name "elixir-plug-crypto") |
