depot/third_party/nixpkgs/pkgs/development/python-modules/qiling/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 = [ ];
};
}