blob: 105328a91cd42e4e7e58b505aa24393241eb90a0 (
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
46
47
|
{
lib,
badges,
buildPythonPackage,
capstone,
fetchFromGitHub,
keystone-engine,
lief,
pyelftools,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "hatasm";
version = "1.0.0-unstable-2026-01-05";
pyproject = true;
src = fetchFromGitHub {
owner = "EntySec";
repo = "HatAsm";
# https://github.com/EntySec/HatAsm/issues/2
rev = "c8ec79e533a2dd489de86cefc168fce576f21f1a";
hash = "sha256-PqQRe01cZMEOBjkbBqnb9jXcdSQ3LSSJtwwaP0ITgKg=";
};
build-system = [ setuptools ];
dependencies = [
badges
capstone
keystone-engine
lief
pyelftools
];
pythonImportsCheck = [ "hatasm" ];
# Module has no tests
doCheck = false;
meta = {
description = "Assembler and disassembler that provides support for all common architectures";
homepage = "https://github.com/EntySec/HatAsm";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|