[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 31/31] gnu: Add ocaml-cohttp-lwt-unix
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 31/31] gnu: Add ocaml-cohttp-lwt-unix |
Date: |
Mon, 9 Aug 2021 07:01:24 +0000 |
* gnu/packages/ocaml.scm (ocaml-cohttp-lwt-unix): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 42e6fd2e94..8965f5920d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7424,6 +7424,29 @@ JavaScript backend, or @code{ocaml-cohttp-mirage} for
the MirageOS unikernel
version of the library. All of these implementations share the same IO logic
from this module.")))
+(define-public ocaml-cohttp-lwt-unix
+ (package
+ (inherit ocaml-cohttp)
+ (name "ocaml-cohttp-lwt-unix")
+ (arguments `(#:package "cohttp-lwt-unix"
+ ;; tests require network
+ #:tests? #f))
+ (propagated-inputs
+ `(("ocaml-conduit-lwt" ,ocaml-conduit-lwt)
+ ("ocaml-conduit-lwt-unix" ,ocaml-conduit-lwt-unix)
+ ("ocaml-cmdliner" ,ocaml-cmdliner)
+ ("ocaml-magic-mime" ,ocaml-magic-mime)
+ ("ocaml-logs" ,ocaml-logs)
+ ("ocaml-fmt" ,ocaml-fmt)
+ ("ocaml-cohttp-lwt" ,ocaml-cohttp-lwt)
+ ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
+ ("ocaml-lwt" ,ocaml-lwt)
+ ("ocaml-lwt-ssl" ,ocaml-lwt-ssl)))
+ (native-inputs `(("ocaml-ounit" ,ocaml-ounit)))
+ (synopsis "OCaml HTTP implementation for Unix using Lwt")
+ (description "This Ocaml package provides an implementation of an HTTP
+client and server for Unix using the Lwt concurrency library.")))
+
(define-public ocaml-magic-mime
(package
(name "ocaml-magic-mime")
--
2.32.0
- [bug#49867] [PATCH v2 22/31] gnu: Add ocaml-mirage-crypto-ec., (continued)
- [bug#49867] [PATCH v2 22/31] gnu: Add ocaml-mirage-crypto-ec., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 25/31] gnu: Add ocaml-cstruct-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 20/31] gnu: Add ocaml-ppx-deriving., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 21/31] gnu: Add ocaml-ppx-deriving-yojson., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 27/31] gnu: Add ocaml-ca-certs., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 28/31] gnu: Add ocaml-lwt-ssl., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 29/31] gnu: Add ocaml-conduit-lwt-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 26/31] gnu: Add ocaml-x509., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 30/31] gnu: Add ocaml-magic-mime., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 31/31] gnu: Add ocaml-cohttp-lwt-unix,
pukkamustard <=
- [bug#49867] [PATCH v2 24/31] gnu: Add ocaml-pbkdf., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 23/31] gnu: Add ocaml-gmap., pukkamustard, 2021/08/09
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., Xinglu Chen, 2021/08/09