Merge pull request #51276 from nomeata/ocaml-bisect
Add bisect_ppx and bisect_ppx-ocamlbuild
commit13882234569e75df7ecc39e97bdac98709b57530
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateSun 2 Dec 2018, 23:44 (8 years ago)
parent5f2b8de6ca50c3
pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nixnew file+7
@@ -0,0 +1,7 @@
1+{ buildDunePackage, bisect_ppx, ocamlbuild }:
2+
3+buildDunePackage rec {
4+ inherit (bisect_ppx) version src meta;
5+ pname = "bisect_ppx-ocamlbuild";
6+ propagatedBuildInputs = [ ocamlbuild ];
7+}
pkgs/development/ocaml-modules/bisect_ppx/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree, ppx_tools_versioned }:
2+
3+buildDunePackage rec {
4+ pname = "bisect_ppx";
5+ version = "1.4.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "aantron";
9+ repo = "bisect_ppx";
10+ rev = version;
11+ sha256 = "1plhm4pvrhpapz5zaks194ji1fgzmp13y942g10pbn9m7kgkqg4h";
12+ };
13+
14+ buildInputs = [
15+ ocaml-migrate-parsetree
16+ ppx_tools_versioned
17+ ];
18+
19+ meta = {
20+ description = "Code coverage for OCaml";
21+ license = stdenv.lib.licenses.mpl20;
22+ homepage = https://github.com/aantron/bisect_ppx;
23+ };
24+}
pkgs/top-level/ocaml-packages.nix+3
@@ -131,6 +131,9 @@ let
131131
132132 bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { };
133133
134+ bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
135+ bisect_ppx-ocamlbuild = callPackage ../development/ocaml-modules/bisect_ppx-ocamlbuild { };
136+
134137 ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
135138
136139 cairo2 = callPackage ../development/ocaml-modules/cairo2 { };