2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
2019-12-29 20:40:36 +01:00
|
|
|
, ppx_sexp_conv, sexplib
|
|
|
|
, astring, ipaddr, macaddr, uri,
|
2016-11-12 09:39:16 +01:00
|
|
|
}:
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "conduit";
|
2019-12-29 20:40:36 +01:00
|
|
|
version = "1.4.0";
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2019-12-29 20:40:36 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "ocaml-conduit";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1qzamqcmf9ywz04bkwrv17mz9j6zq2w9h1xmnjvp11pnwrs2xq8l";
|
|
|
|
};
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2019-12-29 20:40:36 +01:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
|
|
|
propagatedBuildInputs = [ astring ipaddr macaddr sexplib uri ];
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2019-12-29 20:40:36 +01: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 16:36:02 +02:00
|
|
|
}
|