ocamlPackages.ppx_bap: init at 0.14

This commit is contained in:
Vincent Laporte 2021-02-22 08:57:45 +01:00 committed by Vincent Laporte
parent 74b9241e60
commit 36aa10c0ea
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,51 @@
{ 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";
license = lib.licenses.mit;
inherit (src.meta) homepage;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -917,6 +917,8 @@ let
inherit (pkgs) postgresql;
};
ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };