1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 bap,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "bap";
11 version = "1.3.1";
12 format = "setuptools";
13 src = fetchFromGitHub {
14 owner = "BinaryAnalysisPlatform";
15 repo = "bap-python";
16 rev = version;
17 sha256 = "1ahkrmcn7qaivps1gar8wd9mq2qqyx6zzvznf5r9rr05h17x5lbp";
18 };
19
20 propagatedBuildInputs = [
21 bap
22 requests
23 ];
24
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages";
29 homepage = "https://github.com/BinaryAnalysisPlatform/bap/";
30 maintainers = [ maintainers.maurer ];
31 license = licenses.mit;
32 };
33}