2021-03-09 03:18:52 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ppx_assert
|
|
|
|
, ppx_bench
|
|
|
|
, ppx_bin_prot
|
|
|
|
, ppx_compare
|
|
|
|
, ppx_enumerate
|
|
|
|
, ppx_hash
|
|
|
|
, ppx_here
|
|
|
|
, ppx_optcomp
|
|
|
|
, ppx_sexp_conv
|
|
|
|
, ppx_sexp_value
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppx_bap";
|
|
|
|
version = "0.14";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BinaryAnalysisPlatform";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1c6rcdp8bicdiwqc2mb59cl9l2vxlp3y8hmnr9x924fq7acly248";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ppx_optcomp
|
|
|
|
ppx_sexp_value
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_assert
|
|
|
|
ppx_bench
|
|
|
|
ppx_bin_prot
|
|
|
|
ppx_compare
|
|
|
|
ppx_enumerate
|
|
|
|
ppx_hash
|
|
|
|
ppx_here
|
|
|
|
ppx_sexp_conv
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The set of ppx rewriters for BAP";
|
|
|
|
inherit (src.meta) homepage;
|
2022-05-18 14:49:53 +00:00
|
|
|
license = lib.licenses.mit;
|
2021-03-09 03:18:52 +00:00
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "ppx-bap";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|