ocamlPackages.lwt_log: init at 1.0.0

This commit is contained in:
Vincent Laporte 2018-07-12 21:25:59 +00:00
parent 124071cacd
commit 5a7ab721b4
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, ocaml, findlib, jbuilder, lwt }:
stdenv.mkDerivation rec {
version = "1.0.0";
name = "ocaml${ocaml.version}-lwt_log-${version}";
inherit (lwt) src;
buildInputs = [ ocaml findlib jbuilder ];
propagatedBuildInputs = [ lwt ];
buildPhase = "jbuilder build -p lwt_log";
inherit (jbuilder) installPhase;
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 ];
};
}

View file

@ -394,6 +394,10 @@ let
ocaml_lwt = if lib.versionOlder "4.02" ocaml.version then lwt3 else lwt2;
lwt_log = callPackage ../development/ocaml-modules/lwt_log {
lwt = lwt3;
};
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix {
lwt = lwt3;
};