2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
2019-12-29 19:40:36 +00:00
|
|
|
, ppx_sexp_conv, sexplib
|
|
|
|
, astring, ipaddr, macaddr, uri,
|
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";
|
2019-12-29 19:40:36 +00:00
|
|
|
version = "1.4.0";
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2019-12-29 19:40:36 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "ocaml-conduit";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1qzamqcmf9ywz04bkwrv17mz9j6zq2w9h1xmnjvp11pnwrs2xq8l";
|
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2019-12-29 19:40:36 +00:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
|
|
|
propagatedBuildInputs = [ astring ipaddr macaddr sexplib uri ];
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2019-12-29 19:40:36 +00:00
|
|
|
meta = {
|
|
|
|
description = "Network connection library for TCP and SSL";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ alexfmpe vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
}
|