From 8ad01c336266603ccfc3f15836701c30b236050e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 27 Nov 2019 18:34:14 +0000 Subject: [PATCH] ocamlPackages.metrics-lwt: init at 0.1.0 --- pkgs/development/ocaml-modules/metrics/lwt.nix | 14 ++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/ocaml-modules/metrics/lwt.nix diff --git a/pkgs/development/ocaml-modules/metrics/lwt.nix b/pkgs/development/ocaml-modules/metrics/lwt.nix new file mode 100644 index 000000000000..47b91e430c65 --- /dev/null +++ b/pkgs/development/ocaml-modules/metrics/lwt.nix @@ -0,0 +1,14 @@ +{ buildDunePackage, ocaml_lwt, metrics }: + +buildDunePackage { + pname = "metrics-lwt"; + + inherit (metrics) version src; + + propagatedBuildInputs = [ ocaml_lwt metrics ]; + + meta = metrics.meta // { + description = "Lwt backend for the Metrics library"; + }; + +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 529bd3d7cee1..55ef0c052b17 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -466,6 +466,8 @@ let metrics = callPackage ../development/ocaml-modules/metrics { }; + metrics-lwt = callPackage ../development/ocaml-modules/metrics/lwt.nix { }; + mezzo = callPackage ../development/compilers/mezzo { }; minisat = callPackage ../development/ocaml-modules/minisat { };