ocamlPackages.bitstring: 3.1.1 → 4.0.1

ocamlPackages.ppx_bitsring: init at 4.0.1
This commit is contained in:
Vincent Laporte
2021-01-07 07:43:29 +01:00
committed by Vincent Laporte
parent 6e57c2b876
commit 331186b9ac
4 changed files with 33 additions and 7 deletions
@@ -2,6 +2,7 @@
, ocaml, findlib, ocamlbuild, ocaml_oasis,
bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp,
utop, libxml2,
ppx_bitstring,
ppx_tools_versioned,
which, makeWrapper, writeText
, z3
@@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ which makeWrapper ];
buildInputs = [ ocaml findlib ocamlbuild ocaml_oasis
llvm ppx_tools_versioned
llvm ppx_bitstring ppx_tools_versioned
z3
utop libxml2 ];
@@ -63,6 +64,10 @@ stdenv.mkDerivation rec {
patches = [ ./dont-add-curses.patch ];
preConfigure = ''
substituteInPlace oasis/elf --replace bitstring.ppx ppx_bitstring
'';
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm}/bin/llvm-config" ];
BAPBUILDFLAGS = "-j $(NIX_BUILD_CORES)";