summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bap
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-04-28 06:35:25 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-05-05 22:00:58 +0200
commitf38bf3ba4e1f1f5aa587e622476be8a8a0919f80 (patch)
tree81734f818ade97dd18627b92a8d27bdb4ad1b7b4 /pkgs/development/ocaml-modules/bap
parentad1e17f5ba27ace0f5e5529b649272ac83da8e65 (diff)
downloadnixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar.gz
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar.bz2
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar.lz
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar.xz
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.tar.zst
nixpkgs-f38bf3ba4e1f1f5aa587e622476be8a8a0919f80.zip
ocamlPackages.bap: 1.4.0 -> 1.6.0
libbap: 2018-03-01 -> 2019-04-05
Diffstat (limited to 'pkgs/development/ocaml-modules/bap')
-rw-r--r--pkgs/development/ocaml-modules/bap/default.nix17
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/development/ocaml-modules/bap/default.nix b/pkgs/development/ocaml-modules/bap/default.nix
index 445ff3ecb18..64bbd91a3d5 100644
--- a/pkgs/development/ocaml-modules/bap/default.nix
+++ b/pkgs/development/ocaml-modules/bap/default.nix
@@ -2,29 +2,25 @@
 , ocaml, findlib, ocamlbuild, ocaml_oasis,
  bitstring, camlzip, cmdliner, core_kernel, ezjsonm, faillib, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm_38, frontc, ounit, ppx_jane, parsexp,
  utop,
+ ppx_tools_versioned,
  which, makeWrapper, writeText
 }:
 
 stdenv.mkDerivation rec {
   name = "ocaml${ocaml.version}-bap-${version}";
-  version = "1.4.0";
+  version = "1.6.0";
   src = fetchFromGitHub {
     owner = "BinaryAnalysisPlatform";
     repo = "bap";
     rev = "v${version}";
-    sha256 = "0329m65x8q5q8vgvsqgyz2vz7q6qkh2rh11j7x29hckk3fzxsf8g";
+    sha256 = "0ryf2xb37pj2f9mc3p5prqgqrylph9qgq7q9jnbx8b03nzzpa6h6";
   };
 
   sigs = fetchurl {
      url = "https://github.com/BinaryAnalysisPlatform/bap/releases/download/v${version}/sigs.zip";
-     sha256 = "0k761w82zkmi5dwsfqq61dbjnb8mmmpb2xwp7vp85xs14g5fjz19";
+     sha256 = "0d69jd28z4g64mglq94kj5imhmk5f6sgcsh9q2nij3b0arpcliwk";
   };
 
-  patches = [(fetchpatch {
-    url = "https://github.com/BinaryAnalysisPlatform/bap/commit/e4ee3a1e5b427e8d8991e7462b06123178c0a046.patch";
-    sha256 = "1yq33zd2sdacclr20g05c1q050m7x7vfbl66qdgansh23dr4fnxk";
-  })];
-
   createFindlibDestdir = true;
 
   setupHook = writeText "setupHook.sh" ''
@@ -35,10 +31,10 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ which makeWrapper ];
 
   buildInputs = [ ocaml findlib ocamlbuild ocaml_oasis
-                  llvm_38
+                  llvm_38 ppx_tools_versioned
                   utop ];
 
-  propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_jane core_kernel ezjsonm faillib fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi parsexp
+  propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_jane core_kernel ezjsonm fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi parsexp
                             piqi-ocaml uuidm frontc ounit ];
 
   installPhase = ''
@@ -64,6 +60,5 @@ stdenv.mkDerivation rec {
     homepage = https://github.com/BinaryAnalysisPlatform/bap/;
     maintainers = [ maintainers.maurer ];
     license = licenses.mit;
-    broken = versionOlder ocaml.version "4.03";
   };
 }