2017-01-25 08:14:40 +01:00
|
|
|
{stdenv, buildPythonPackage, fetchFromGitHub, bap, requests}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "bap";
|
2018-03-01 18:10:41 +01:00
|
|
|
version = "1.3.1";
|
2017-05-27 11:25:35 +02:00
|
|
|
name = "${pname}-${version}";
|
2017-01-25 08:14:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BinaryAnalysisPlatform";
|
|
|
|
repo = "bap-python";
|
2018-03-01 18:10:41 +01:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1ahkrmcn7qaivps1gar8wd9mq2qqyx6zzvznf5r9rr05h17x5lbp";
|
2017-01-25 08:14:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [bap requests];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";
|
|
|
|
homepage = https://github.com/BinaryAnalysisPlatform/bap/;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|