1 { lib, stdenv, fetchFromGitHub, bap, ocaml, findlib, ctypes, autoreconfHook,
6 version = "master-2020-11-25";
8 src = fetchFromGitHub {
9 owner = "BinaryAnalysisPlatform";
10 repo = "bap-bindings";
11 rev = "3193cb31e1b1f2455406ea0c819dad9dfa2ba10d";
12 sha256 = "0m4spva3z6fgbwlg4zq53l5p227dic893q2qq65pvzxyf7k7nmil";
16 substituteInPlace Makefile.in \
17 --replace "-linkpkg" "-thread -linkpkg"
20 nativeBuildInputs = [ autoreconfHook which ocaml findlib ];
21 buildInputs = [ bap ctypes ];
29 homepage = "https://github.com/binaryanalysisplatform/bap-bindings";
30 description = "A C library for interacting with BAP";
31 maintainers = [ maintainers.maurer ];
32 platforms = platforms.unix;
33 license = licenses.mit;