2021-01-15 22:18:51 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2022-07-14 12:49:19 +00:00
|
|
|
, ppx_sexp_conv, sexplib, astring, uri
|
2020-07-18 16:06:22 +00:00
|
|
|
, ipaddr, ipaddr-sexp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "conduit";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "6.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-14 12:49:19 +00:00
|
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-${version}.tbz";
|
2023-03-15 16:39:30 +00:00
|
|
|
sha256 = "sha256-PtRAsO3aGyEt12K9skgx85TcoFmF3RtKxPlFgdFFI5Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri ppx_sexp_conv ];
|
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
|
|
|
};
|
|
|
|
}
|