blob: a109c6e3a607a7f2cbd6f2540be069d019011167 (
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
44
45
|
{
lib,
buildPythonPackage,
distutils,
fetchFromGitHub,
pytestCheckHook,
setuptools,
yasm,
}:
buildPythonPackage rec {
pname = "distorm3";
version = "3.5.2b";
pyproject = true;
src = fetchFromGitHub {
owner = "gdabah";
repo = "distorm";
tag = version;
hash = "sha256-2ftEV3TMS3HT7f96k+Pwt3Mm31fVEXcHpcbbz05jycU=";
};
build-system = [
distutils
setuptools
];
nativeCheckInputs = [
pytestCheckHook
yasm
];
# TypeError: __init__() missing 3 required positional...
doCheck = false;
pythonImportsCheck = [ "distorm3" ];
meta = {
description = "Disassembler library for x86/AMD64";
homepage = "https://github.com/gdabah/distorm";
changelog = "https://github.com/gdabah/distorm/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
|