forked from mirrors/nixpkgs
Merge pull request #51276 from nomeata/ocaml-bisect
Add bisect_ppx and bisect_ppx-ocamlbuild
This commit is contained in:
commit
1388223456
pkgs
development/ocaml-modules
top-level
|
@ -0,0 +1,7 @@
|
|||
{ buildDunePackage, bisect_ppx, ocamlbuild }:
|
||||
|
||||
buildDunePackage rec {
|
||||
inherit (bisect_ppx) version src meta;
|
||||
pname = "bisect_ppx-ocamlbuild";
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
}
|
24
pkgs/development/ocaml-modules/bisect_ppx/default.nix
Normal file
24
pkgs/development/ocaml-modules/bisect_ppx/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree, ppx_tools_versioned }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bisect_ppx";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aantron";
|
||||
repo = "bisect_ppx";
|
||||
rev = version;
|
||||
sha256 = "1plhm4pvrhpapz5zaks194ji1fgzmp13y942g10pbn9m7kgkqg4h";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ocaml-migrate-parsetree
|
||||
ppx_tools_versioned
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Code coverage for OCaml";
|
||||
license = stdenv.lib.licenses.mpl20;
|
||||
homepage = https://github.com/aantron/bisect_ppx;
|
||||
};
|
||||
}
|
|
@ -131,6 +131,9 @@ let
|
|||
|
||||
bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { };
|
||||
|
||||
bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
|
||||
bisect_ppx-ocamlbuild = callPackage ../development/ocaml-modules/bisect_ppx-ocamlbuild { };
|
||||
|
||||
ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
|
||||
|
||||
cairo2 = callPackage ../development/ocaml-modules/cairo2 { };
|
||||
|
|
Loading…
Reference in a new issue