{
lib,
fetchurl,
buildDunePackage,
ppx_sexp_conv,
sexplib0,
astring,
uri,
ipaddr,
ipaddr-sexp,
}:
buildDunePackage rec {
pname = "conduit";
version = "7.0.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-${version}.tbz";
hash = "sha256-Pg7ChIlqldF42NE1eS56Rssk+csK8OqWTQXO4avLEhg=";
};
propagatedBuildInputs = [
astring
ipaddr
ipaddr-sexp
sexplib0
uri
ppx_sexp_conv
];
meta = {
description = "Network connection establishment library";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [
alexfmpe
vbgl
homepage = "https://github.com/mirage/ocaml-conduit";
}