2021-01-11 12:49:15 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2020-06-25 22:22:21 +01:00
|
|
|
, ppx_sexp_conv, sexplib, astring, uri, logs
|
|
|
|
, ipaddr, ipaddr-sexp
|
2016-11-12 08:39:16 +00:00
|
|
|
}:
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "conduit";
|
2021-12-30 10:05:06 +00:00
|
|
|
version = "4.0.2";
|
2020-11-19 06:36:34 +00:00
|
|
|
useDune2 = true;
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2021-05-11 05:54:15 +01:00
|
|
|
minimumOCamlVersion = "4.03";
|
2020-06-25 22:22:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-11 05:54:15 +01:00
|
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-v${version}.tbz";
|
2021-12-30 10:05:06 +00:00
|
|
|
sha256 = "2a37ffaa352a1e145ef3d80ac28661213c69a741b238623e59f29e3d5a12c537";
|
2019-12-29 19:40:36 +00:00
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2019-12-29 19:40:36 +00:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2021-05-11 05:54:15 +01:00
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri logs ];
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2019-12-29 19:40:36 +00:00
|
|
|
meta = {
|
2020-07-12 04:08:08 +01:00
|
|
|
description = "A network connection establishment library";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = with lib.maintainers; [ alexfmpe vbgl ];
|
2020-06-25 22:22:21 +01:00
|
|
|
homepage = "https://github.com/mirage/ocaml-conduit";
|
2019-12-29 19:40:36 +00:00
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
}
|