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