1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 ppx_sexp_conv,
6 sexplib0,
7 astring,
8 uri,
9 ipaddr,
10 ipaddr-sexp,
11}:
12
13buildDunePackage rec {
14 pname = "conduit";
15 version = "8.0.0";
16
17 minimalOCamlVersion = "4.13";
18
19 src = fetchurl {
20 url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-${version}.tbz";
21 hash = "sha256-CmPZEIZbVHOJOhcM2lH2E4j0iOz0xLLtf+nsTiz2b2E=";
22 };
23
24 propagatedBuildInputs = [
25 astring
26 ipaddr
27 ipaddr-sexp
28 sexplib0
29 uri
30 ppx_sexp_conv
31 ];
32
33 meta = {
34 description = "Network connection establishment library";
35 license = lib.licenses.isc;
36 maintainers = with lib.maintainers; [
37 alexfmpe
38 vbgl
39 ];
40 homepage = "https://github.com/mirage/ocaml-conduit";
41 };
42}