fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
capstone,
|
|
fetchPypi,
|
|
gevent,
|
|
keystone-engine,
|
|
multiprocess,
|
|
pefile,
|
|
pyelftools,
|
|
pythonOlder,
|
|
python-fx,
|
|
python-registry,
|
|
pyyaml,
|
|
questionary,
|
|
termcolor,
|
|
unicorn,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qiling";
|
|
version = "1.4.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-l3WQBlJic4lXCe5Z1FmoxaqOblE7uAaW2gG/nTn84Kc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
capstone
|
|
gevent
|
|
keystone-engine
|
|
multiprocess
|
|
pefile
|
|
pyelftools
|
|
python-fx
|
|
python-registry
|
|
pyyaml
|
|
termcolor
|
|
questionary
|
|
unicorn
|
|
];
|
|
|
|
# Tests are broken (attempt to import a file that tells you not to import it,
|
|
# amongst other things)
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "qiling" ];
|
|
|
|
meta = with lib; {
|
|
description = "Qiling Advanced Binary Emulation Framework";
|
|
homepage = "https://qiling.io/";
|
|
changelog = "https://github.com/qilingframework/qiling/releases/tag/${version}";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|