mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add elixir-httpoison.
* gnu/packages/elixir-web.scm (elixir-httpoison): New variable. Change-Id: Ifeb181da3e07fd46f0044aae185a0aed63c2d25d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
22eeef9921
commit
1e3ceede32
2 changed files with 100 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages elixir-web)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages erlang)
|
||||
#:use-module (gnu packages erlang-xyz)
|
||||
#:use-module (gnu packages elixir-databases)
|
||||
|
@ -240,6 +241,41 @@ purposes. Its goal is to be as close as possible to
|
|||
(home-page "https://hexdocs.pm/httparrot/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public elixir-httpoison
|
||||
(package
|
||||
(name "elixir-httpoison")
|
||||
(version "2.2.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/edgurgel/httpoison")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0k9g4dc6y30wr9ryxjs23izifpg4dqkkqk8xz39ff27jn5s97k8i"))
|
||||
;; Waiting for upstream inclusion at
|
||||
;; https://github.com/edgurgel/httpoison/pull/502
|
||||
(patches
|
||||
(search-patches "elixir-httpoison-tag-network-dependent-test-cases.patch"))))
|
||||
(build-system mix-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; These tests require network access to badssl.com.
|
||||
#~(list "--exclude" "network")))
|
||||
(native-inputs
|
||||
(list erlang-cowboy
|
||||
elixir-earmark
|
||||
elixir-jason
|
||||
elixir-httparrot
|
||||
elixir-mimic))
|
||||
(propagated-inputs (list erlang-hackney))
|
||||
(synopsis "Yet Another HTTP client for Elixir")
|
||||
(description "Yet Another HTTP client for Elixir powered by hackney.")
|
||||
(home-page "https://hexdocs.pm/httpoison/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public elixir-mint
|
||||
(package
|
||||
(name "elixir-mint")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue