2018-09-05 17:11:47 +01:00
|
|
|
{ stdenv, ocaml, findlib, dune, lwt }:
|
2018-07-12 22:25:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.0";
|
|
|
|
name = "ocaml${ocaml.version}-lwt_log-${version}";
|
|
|
|
|
|
|
|
inherit (lwt) src;
|
|
|
|
|
2018-09-05 17:11:47 +01:00
|
|
|
buildInputs = [ ocaml findlib dune ];
|
2018-07-12 22:25:59 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ lwt ];
|
|
|
|
|
2018-09-05 17:11:47 +01:00
|
|
|
buildPhase = "dune build -p lwt_log";
|
2018-07-12 22:25:59 +01:00
|
|
|
|
2018-09-05 17:11:47 +01:00
|
|
|
inherit (dune) installPhase;
|
2018-07-12 22:25:59 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lwt logging library (deprecated)";
|
|
|
|
homepage = "https://github.com/aantron/lwt_log";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|