summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorAaron L. Zeng <me@bcc32.com>2022-04-06 19:46:57 -0400
committerVincent Laporte <vbgl@users.noreply.github.com>2022-04-18 21:53:30 +0200
commit3a510ac1ce5a81f11bba878be16e6fe6816d7586 (patch)
treef2257abaa2510aa1d66b5b22113f34f0de9e78ca /pkgs/development/ocaml-modules
parent78d682f23efabf5ba7bf33326205151c5a63ae2e (diff)
downloadnixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar.gz
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar.bz2
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar.lz
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar.xz
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.tar.zst
nixpkgs-3a510ac1ce5a81f11bba878be16e6fe6816d7586.zip
ocamlPackages.bap: 2.2.0 -> 2.4.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/bap/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/bap/default.nix b/pkgs/development/ocaml-modules/bap/default.nix
index ea009083e8d..2bf671c6a09 100644
--- a/pkgs/development/ocaml-modules/bap/default.nix
+++ b/pkgs/development/ocaml-modules/bap/default.nix
@@ -16,12 +16,12 @@ else
 
 stdenv.mkDerivation rec {
   pname = "ocaml${ocaml.version}-bap";
-  version = "2.2.0";
+  version = "2.4.0";
   src = fetchFromGitHub {
     owner = "BinaryAnalysisPlatform";
     repo = "bap";
     rev = "v${version}";
-    sha256 = "0c53sps6ba9n5cjdmapi8ylzlpcc11pksijp9swzlwgxyz5d276f";
+    sha256 = "1xc8zfcwm40zihs3ajcrh2x32xd08qnygay03qy3qxhybr5hqngr";
   };
 
   sigs = fetchurl {
@@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
   '';
 
   disableIda = "--disable-ida";
+  disableGhidra = "--disable-ghidra";
 
   patches = [ ./curses_is_ncurses.patch ];
 
@@ -69,7 +70,7 @@ stdenv.mkDerivation rec {
     substituteInPlace oasis/elf-loader --replace bitstring.ppx ppx_bitstring
   '';
 
-  configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm.dev}/bin/llvm-config" ];
+  configureFlags = [ "--enable-everything ${disableIda} ${disableGhidra}" "--with-llvm-config=${llvm.dev}/bin/llvm-config" ];
 
   meta = with lib; {
     description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";