Message ID | 20210804071545.21181-26-pukkamustard@posteo.net |
---|---|
State | Accepted |
Headers | show |
Series | gnu: Add ocaml-cohttp-lwt-unix. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
On Wed, Aug 04 2021, pukkamustard wrote: > * gnu/packages/ocaml.scm (ocaml-lwt-ssl): New variable. > --- > gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm > index d475b75287..cadd22cb9c 100644 > --- a/gnu/packages/ocaml.scm > +++ b/gnu/packages/ocaml.scm > @@ -7428,6 +7428,32 @@ establishing TCP and SSL/TLS connections from @code{ocaml-conduit} using > deprecated for @code{ocaml-logs}.") > (license license:lgpl2.1))) > > +(define-public ocaml-lwt-ssl > + (package > + (name "ocaml-lwt-ssl") > + (version "1.1.3") > + (home-page "https://github.com/ocsigen/lwt_ssl") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url home-page) > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0v417ch5zn0yknj156awa5mrq3mal08pbrvsyribbn63ix6f9y3p")))) > + (build-system dune-build-system) > + (arguments `(#:test-target ".")) > + (propagated-inputs > + `(("ocaml-lwt" ,ocaml-lwt) > + ("ocaml-ssl" ,ocaml-ssl))) > + (properties `((upstream-name . "lwt_ssl"))) > + (synopsis "OpenSSL binding for OCaml with concurrent I/O") > + (description "An Lwt-enabled wrapper around @code{ocaml-ssl}, that > +performs I/O concurrently.") Write a complete sentence, maybe This OCaml library provides an Lwt-enabled… ?
Xinglu Chen <public@yoctocell.xyz> writes: >> + (description "An Lwt-enabled wrapper around >> @code{ocaml-ssl}, that >> +performs I/O concurrently.") > > Write a complete sentence, maybe > > This OCaml library provides an Lwt-enabled… > > ? Perfect. Using description as suggested in V2.
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d475b75287..cadd22cb9c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7428,6 +7428,32 @@ establishing TCP and SSL/TLS connections from @code{ocaml-conduit} using deprecated for @code{ocaml-logs}.") (license license:lgpl2.1))) +(define-public ocaml-lwt-ssl + (package + (name "ocaml-lwt-ssl") + (version "1.1.3") + (home-page "https://github.com/ocsigen/lwt_ssl") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v417ch5zn0yknj156awa5mrq3mal08pbrvsyribbn63ix6f9y3p")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (propagated-inputs + `(("ocaml-lwt" ,ocaml-lwt) + ("ocaml-ssl" ,ocaml-ssl))) + (properties `((upstream-name . "lwt_ssl"))) + (synopsis "OpenSSL binding for OCaml with concurrent I/O") + (description "An Lwt-enabled wrapper around @code{ocaml-ssl}, that +performs I/O concurrently.") +(license license:lgpl2.1+))) ; with linking exception + (define-public ocaml-eqaf (package (name "ocaml-eqaf")