summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/metrics/unix.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-12-15 23:57:17 +0000
committerAlyssa Ross <hi@alyssa.is>2019-12-15 23:57:17 +0000
commit6e6ec8b0c230c842ef853951cf51fa80a9382c5c (patch)
treec2f31552b39b1f9004cf727fa405b97c7506282e /pkgs/development/ocaml-modules/metrics/unix.nix
parente56df97ba1341ba7a329c3e90b1c12572315c943 (diff)
parenta991de49f2aa3ab8716c73f6bfba722df23a3b50 (diff)
downloadnixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.gz
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.bz2
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.lz
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.xz
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.zst
nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.zip
Merge remote-tracking branch 'nixpkgs/master' into master
Diffstat (limited to 'pkgs/development/ocaml-modules/metrics/unix.nix')
-rw-r--r--pkgs/development/ocaml-modules/metrics/unix.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/metrics/unix.nix b/pkgs/development/ocaml-modules/metrics/unix.nix
new file mode 100644
index 00000000000..45a92f10803
--- /dev/null
+++ b/pkgs/development/ocaml-modules/metrics/unix.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, gnuplot, ocaml_lwt, metrics, metrics-lwt, mtime, uuidm }:
+
+buildDunePackage rec {
+
+  pname = "metrics-unix";
+
+  inherit (metrics) version src;
+
+  propagatedBuildInputs = [ gnuplot ocaml_lwt metrics mtime uuidm ];
+
+  checkInputs = lib.optional doCheck metrics-lwt;
+
+  doCheck = true;
+
+  meta = metrics.meta // {
+    description = "Unix backend for the Metrics library";
+  };
+
+}