about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt_log
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-07-12 21:25:59 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-07-12 21:26:00 +0000
commit5a7ab721b40f24375951ad1d48538abff21236bc (patch)
tree61f8dfc1ed382bbb3d2baeb1ced57a78a2af024b /pkgs/development/ocaml-modules/lwt_log
parent124071cacdd324ec0ec0dfd21f569d8388c18599 (diff)
ocamlPackages.lwt_log: init at 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt_log')
-rw-r--r--pkgs/development/ocaml-modules/lwt_log/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_log/default.nix b/pkgs/development/ocaml-modules/lwt_log/default.nix
new file mode 100644
index 0000000000000..bdabe677a858a
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lwt_log/default.nix
@@ -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 ];
+  };
+}