ocamlPackages.lwt_log: init at 1.0.0
This commit is contained in:
parent
124071cacd
commit
5a7ab721b4
2 changed files with 28 additions and 0 deletions
24
pkgs/development/ocaml-modules/lwt_log/default.nix
Normal file
24
pkgs/development/ocaml-modules/lwt_log/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue