2020-06-25 23:22:21 +02:00
|
|
|
{ stdenv, fetchurl, buildDunePackage
|
|
|
|
, ppx_sexp_conv, sexplib, astring, uri, logs
|
|
|
|
, ipaddr, ipaddr-sexp
|
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";
|
2020-06-25 23:22:21 +02:00
|
|
|
version = "2.2.2";
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2020-06-25 23:22:21 +02:00
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/ocaml-conduit/releases/download/v2.2.2/conduit-v2.2.2.tbz";
|
|
|
|
sha256 = "1zb83w2pq9c8xrappfxa6y5q93772f5dj22x78camsm77a2c2z55";
|
2019-12-29 20:40:36 +01:00
|
|
|
};
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2019-12-29 20:40:36 +01:00
|
|
|
buildInputs = [ ppx_sexp_conv ];
|
2020-06-25 23:22:21 +02:00
|
|
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri ];
|
2015-05-15 16:36:02 +02:00
|
|
|
|
2019-12-29 20:40:36 +01:00
|
|
|
meta = {
|
2020-07-12 05:08:08 +02:00
|
|
|
description = "A network connection establishment library";
|
2019-12-29 20:40:36 +01:00
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ alexfmpe vbgl ];
|
2020-06-25 23:22:21 +02:00
|
|
|
homepage = "https://github.com/mirage/ocaml-conduit";
|
2019-12-29 20:40:36 +01:00
|
|
|
};
|
2015-05-15 16:36:02 +02:00
|
|
|
}
|