2021-01-11 12:49:15 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
2022-06-30 06:29:12 +01:00
|
|
|
, ppx_sexp_conv, sexplib, astring, uri
|
2020-06-25 22:22:21 +01:00
|
|
|
, 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";
|
2022-12-28 14:19:40 +00:00
|
|
|
version = "6.1.0";
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2023-01-09 09:34:27 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2020-06-25 22:22:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-06-30 06:29:12 +01:00
|
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v${version}/conduit-${version}.tbz";
|
2022-12-28 14:19:40 +00:00
|
|
|
sha256 = "sha256-ouKQiGMLvvksGpAhkqCVSKtKaz91p+7mciQm7KHvwF8=";
|
2019-12-29 19:40:36 +00:00
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2022-06-30 06:29:12 +01:00
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri ppx_sexp_conv ];
|
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
|
|
|
}
|