blob: cecfbf1a1309fe70607275a0bb290a70535f3e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
bap,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "bap";
version = "1.3.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "BinaryAnalysisPlatform";
repo = "bap-python";
tag = finalAttrs.version;
hash = "sha256-d9HST4AF5Jxycfbv/033GAtcU+Moqxf03VHhY1nNE6o=";
};
postPatch = ''
substituteInPlace setup.py --replace-fail '1.1.0' ${finalAttrs.version}
'';
build-system = [ setuptools ];
dependencies = [
bap
requests
];
doCheck = false;
meta = {
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages";
homepage = "https://github.com/BinaryAnalysisPlatform/bap/";
maintainers = [ lib.maintainers.maurer ];
license = lib.licenses.mit;
};
})
|