2017-01-25 07:14:40 +00:00
|
|
|
{stdenv, buildPythonPackage, fetchFromGitHub, bap, requests}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "bap";
|
2017-01-25 07:14:40 +00:00
|
|
|
version = "1.1.0";
|
2017-05-27 10:25:35 +01:00
|
|
|
name = "${pname}-${version}";
|
2017-01-25 07:14:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BinaryAnalysisPlatform";
|
|
|
|
repo = "bap-python";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0wd46ksxscgb2dci69sbndzxs6drq5cahraqq42cdk114hkrsxs3";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|