2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
2017-08-27 20:00:55 +01:00
|
|
|
, ppx_sexp_conv
|
|
|
|
, astring, ipaddr, 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";
|
2017-08-27 20:00:55 +01:00
|
|
|
version = "1.0.0";
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2017-07-01 11:18:34 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "ocaml-conduit";
|
|
|
|
rev = "v${version}";
|
2017-08-27 20:00:55 +01:00
|
|
|
sha256 = "1ryigzh7sfif1mly624fpm87aw5h60n5wzdlrvqsf71qcpxc6iiz";
|
2017-07-01 11:18:34 +01:00
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2017-08-27 20:00:55 +01:00
|
|
|
propagatedBuildInputs = [ astring ipaddr uri ];
|
2015-05-15 15:36:02 +01:00
|
|
|
|
2017-07-01 11:18:34 +01:00
|
|
|
meta = {
|
|
|
|
description = "Network connection library for TCP and SSL";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
2015-05-15 15:36:02 +01:00
|
|
|
}
|