summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bisect_ppx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/bisect_ppx/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/bisect_ppx/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/bisect_ppx/default.nix b/pkgs/development/ocaml-modules/bisect_ppx/default.nix
new file mode 100644
index 00000000000..ddeda86e9bf
--- /dev/null
+++ b/pkgs/development/ocaml-modules/bisect_ppx/default.nix
@@ -0,0 +1,28 @@
+{ lib, fetchFromGitHub, buildDunePackage, cmdliner, ppxlib }:
+
+buildDunePackage rec {
+  pname = "bisect_ppx";
+  version = "2.6.1";
+
+  src = fetchFromGitHub {
+    owner = "aantron";
+    repo = "bisect_ppx";
+    rev = version;
+    sha256 = "sha256-YeLDlH3mUbVEY4OmzlrvSwVUav3uMtSsTFlOsQKnz84=";
+  };
+
+  minimumOCamlVersion = "4.08";
+  useDune2 = true;
+
+  buildInputs = [
+    cmdliner
+    ppxlib
+  ];
+
+  meta = with lib; {
+    description = "Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested.";
+    license = licenses.mit;
+    homepage = "https://github.com/aantron/bisect_ppx";
+    maintainers = with maintainers; [ ];
+  };
+}