2021-01-15 22:18:51 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2020-07-18 16:06:22 +00:00
|
|
|
, ppx_sexp_conv, sexplib, astring, uri, logs
|
|
|
|
, ipaddr, ipaddr-sexp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "conduit";
|
2021-10-01 09:20:50 +00:00
|
|
|
version = "4.0.1";
|
2020-11-30 08:33:03 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
minimumOCamlVersion = "4.03";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-v${version}.tbz";
|
2021-10-01 09:20:50 +00:00
|
|
|
sha256 = "500d95bf2a524f4851e94373e32d26b6e99ee04e5134db69fe6e151c3aad9b1f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri logs ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "A network connection establishment library";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = with lib.maintainers; [ alexfmpe vbgl ];
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://github.com/mirage/ocaml-conduit";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|