git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ppx_bap: init at 0.14
commit36aa10c0ead87c519ec07c11268073aa9c0ff756 authorVincent Laporte <Vincent.Laporte@gmail.com> dateMon 22 Feb 2021, 08:57 (6 years ago) parent74b9241
2 files changed+53
pkgs/development/ocaml-modules/ppx_bap/default.nix+51 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/ppx_bap/default.nixnew file+51
@@ -0,0 +1,51 @@
1+{ lib, buildDunePackage
2+, fetchFromGitHub
3+, ppx_assert
4+, ppx_bench
5+, ppx_bin_prot
6+, ppx_compare
7+, ppx_enumerate
8+, ppx_hash
9+, ppx_here
10+, ppx_optcomp
11+, ppx_sexp_conv
12+, ppx_sexp_value
13+}:
14+
15+buildDunePackage rec {
16+ pname = "ppx_bap";
17+ version = "0.14";
18+ useDune2 = true;
19+
20+ minimumOCamlVersion = "4.07";
21+
22+ src = fetchFromGitHub {
23+ owner = "BinaryAnalysisPlatform";
24+ repo = pname;
25+ rev = "v${version}";
26+ sha256 = "1c6rcdp8bicdiwqc2mb59cl9l2vxlp3y8hmnr9x924fq7acly248";
27+ };
28+
29+ buildInputs = [
30+ ppx_optcomp
31+ ppx_sexp_value
32+ ];
33+
34+ propagatedBuildInputs = [
35+ ppx_assert
36+ ppx_bench
37+ ppx_bin_prot
38+ ppx_compare
39+ ppx_enumerate
40+ ppx_hash
41+ ppx_here
42+ ppx_sexp_conv
43+ ];
44+
45+ meta = {
46+ description = "The set of ppx rewriters for BAP";
47+ license = lib.licenses.mit;
48+ inherit (src.meta) homepage;
49+ maintainers = [ lib.maintainers.vbgl ];
50+ };
51+}
pkgs/top-level/ocaml-packages.nix+2
@@ -917,6 +917,8 @@ let
917917 inherit (pkgs) postgresql;
918918 };
919919
920+ ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
921+
920922 ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
921923
922924 ppxfind = callPackage ../development/ocaml-modules/ppxfind { };