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