Merge pull request #36194 from maurer/bap-1.4

BAP update to 1.4

authored by Jörg Thalheim and committed by GitHub d2850489 e0b5bdde

+21 -22
+3 -3
pkgs/development/libraries/libbap/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "libbap-${version}"; 6 - version = "master-2017-02-08"; 6 + version = "master-2018-03-01"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "BinaryAnalysisPlatform"; 10 10 repo = "bap-bindings"; 11 - rev = "b3da5bd5cdb3d646015ccdeb886b5ea8fd85a108"; 12 - sha256 = "0cwfyfpxbi9bm4kkpamyd7mgsm5b6j1rh217fqb5gi05wg45rkbb"; 11 + rev = "bd125c379a784d4265c2ddcf1f6e34bde2e568d4"; 12 + sha256 = "0dp90djyjc262v1b1cw5irp424a8394y86fyprdk8z741wg56m3v"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ autoreconfHook which ];
+10 -11
pkgs/development/ocaml-modules/bap/default.nix
··· 1 - {stdenv, buildOcaml, fetchFromGitHub, fetchurl, camlp4, ocaml_oasis, bitstring, camlzip, cmdliner, core_kernel, ezjsonm, faillib, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm_38, ulex, easy-format, xmlm, frontc, ounit, utop, which, makeWrapper, writeText, ocaml}: 1 + {stdenv, buildOcaml, fetchFromGitHub, fetchurl, camlp4, ocaml_oasis, 2 + bitstring, camlzip, cmdliner, core_kernel, ezjsonm, faillib, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm_38, ulex, easy-format, xmlm, frontc, ounit, ppx_jane, parsexp, 3 + utop, 4 + which, makeWrapper, writeText, ocaml}: 2 5 3 6 buildOcaml rec { 4 7 name = "bap"; 5 - version = "1.2.0"; 8 + version = "1.4.0"; 6 9 src = fetchFromGitHub { 7 10 owner = "BinaryAnalysisPlatform"; 8 11 repo = "bap"; 9 12 rev = "v${version}"; 10 - sha256 = "0dn1gvj73pma0rsw8r50cmjddibnf42w1kbskb2vpzq0kb79jlkw"; 13 + sha256 = "0329m65x8q5q8vgvsqgyz2vz7q6qkh2rh11j7x29hckk3fzxsf8g"; 11 14 }; 12 15 13 16 sigs = fetchurl { 14 17 url = "https://github.com/BinaryAnalysisPlatform/bap/releases/download/v${version}/sigs.zip"; 15 - sha256 = "0mpsq2pinbrynlisnh8j3nrlamlsls7lza0bkqnm9szqjjdmcgfn"; 18 + sha256 = "0k761w82zkmi5dwsfqq61dbjnb8mmmpb2xwp7vp85xs14g5fjz19"; 16 19 }; 17 20 18 21 createFindlibDestdir = true; ··· 28 31 llvm_38 29 32 utop ]; 30 33 31 - propagatedBuildInputs = [ bitstring camlzip cmdliner core_kernel ezjsonm faillib fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi 34 + propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_jane core_kernel ezjsonm faillib fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi parsexp 32 35 piqi-ocaml uuidm frontc ounit ]; 33 36 34 37 installPhase = '' ··· 45 48 46 49 disableIda = "--disable-ida --disable-fsi-benchmark"; 47 50 48 - doCheck = true; 49 - 50 - checkTarget = "check test"; 51 - 52 - configureFlags = "--enable-everything --enable-tests ${disableIda} --with-llvm-config=${llvm_38}/bin/llvm-config"; 51 + configureFlags = "--enable-everything ${disableIda} --with-llvm-config=${llvm_38}/bin/llvm-config"; 53 52 54 53 BAPBUILDFLAGS = "-j $(NIX_BUILD_CORES)"; 55 54 ··· 58 57 homepage = https://github.com/BinaryAnalysisPlatform/bap/; 59 58 maintainers = [ maintainers.maurer ]; 60 59 license = licenses.mit; 61 - broken = versionAtLeast ocaml.version "4.03"; 60 + broken = versionOlder ocaml.version "4.03"; 62 61 }; 63 62 }
+3 -3
pkgs/development/python-modules/bap/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "bap"; 5 - version = "1.1.0"; 5 + version = "1.3.1"; 6 6 name = "${pname}-${version}"; 7 7 src = fetchFromGitHub { 8 8 owner = "BinaryAnalysisPlatform"; 9 9 repo = "bap-python"; 10 - rev = "v${version}"; 11 - sha256 = "0wd46ksxscgb2dci69sbndzxs6drq5cahraqq42cdk114hkrsxs3"; 10 + rev = "${version}"; 11 + sha256 = "1ahkrmcn7qaivps1gar8wd9mq2qqyx6zzvznf5r9rr05h17x5lbp"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [bap requests];
+2 -2
pkgs/development/tools/ocaml/jbuilder/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jbuilder-${version}"; 5 - version = "1.0+beta18"; 5 + version = "1.0+beta17"; 6 6 src = fetchFromGitHub { 7 7 owner = "ocaml"; 8 8 repo = "dune"; 9 9 rev = "${version}"; 10 - sha256 = "1xw4i5qd2ndnddzb8b14fb52qxnjpr3lr9wx3mprv4f294kdg0l6"; 10 + sha256 = "04pyry459hp2r2s9m5xkcq1glzp20ddz5wb1w8nzp3zgygy0431x"; 11 11 }; 12 12 13 13 buildInputs = [ ocaml ];
+1 -1
pkgs/top-level/all-packages.nix
··· 9460 9460 libb2 = callPackage ../development/libraries/libb2 { }; 9461 9461 9462 9462 libbap = callPackage ../development/libraries/libbap { 9463 - inherit (ocamlPackages_4_02) bap ocaml findlib ctypes; 9463 + inherit (ocamlPackages) bap ocaml findlib ctypes; 9464 9464 }; 9465 9465 9466 9466 libbass = (callPackage ../development/libraries/audio/libbass { }).bass;
+1 -1
pkgs/top-level/ocaml-packages.nix
··· 54 54 55 55 base64 = callPackage ../development/ocaml-modules/base64 { }; 56 56 57 - bap = callPackage ../development/ocaml-modules/bap { cmdliner = cmdliner_0_9; }; 57 + bap = callPackage ../development/ocaml-modules/bap { }; 58 58 59 59 batteries = callPackage ../development/ocaml-modules/batteries { }; 60 60
+1 -1
pkgs/top-level/python-packages.nix
··· 184 184 backports_csv = callPackage ../development/python-modules/backports_csv {}; 185 185 186 186 bap = callPackage ../development/python-modules/bap { 187 - bap = pkgs.ocamlPackages_4_02.bap; 187 + bap = pkgs.ocamlPackages.bap; 188 188 }; 189 189 190 190 bash_kernel = callPackage ../development/python-modules/bash_kernel { };