mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
e7dbbb9a7e
commit
a8043dde2c
1 changed files with 30 additions and 0 deletions
|
@ -119,6 +119,36 @@ the HPACK protocol (RFC 7541) for Elixir.")
|
||||||
(home-page "https://hexdocs.pm/hpax/")
|
(home-page "https://hexdocs.pm/hpax/")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public elixir-mint
|
||||||
|
(package
|
||||||
|
(name "elixir-mint")
|
||||||
|
(version "1.7.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (hexpm-uri "mint" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "06r3kb9vkzpx8lgp6fjngaxz9hzidl8sw91hxvfh2hzjs2ja1szw"))))
|
||||||
|
(build-system mix-build-system)
|
||||||
|
(arguments
|
||||||
|
;; Tests depend on elixir-mox which is not packaged yet.
|
||||||
|
(list #:tests? #f))
|
||||||
|
(native-inputs
|
||||||
|
(list elixir-excoveralls))
|
||||||
|
(propagated-inputs (list elixir-castore elixir-hpax))
|
||||||
|
(synopsis "Functional HTTP client for Elixir with support for HTTP/1 and
|
||||||
|
HTTP/2")
|
||||||
|
(description "Mint is different from most Erlang and Elixir HTTP clients
|
||||||
|
because it provides a process-less architecture. Instead, Mint is based on a
|
||||||
|
functional and immutable data structure that represents an HTTP connection.
|
||||||
|
|
||||||
|
This data structure wraps a TCP or SSL socket. This allows for more
|
||||||
|
fine-tailored architectures where the developer is responsible for wrapping the
|
||||||
|
connection struct, such as having one process handle multiple connections or
|
||||||
|
having different kinds of processes handle connections.")
|
||||||
|
(home-page "https://hexdocs.pm/mint/")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public elixir-plug-crypto
|
(define-public elixir-plug-crypto
|
||||||
(package
|
(package
|
||||||
(name "elixir-plug-crypto")
|
(name "elixir-plug-crypto")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue