d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, capstone
|
|
, fetchFromGitHub
|
|
, 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 = [ ];
|
|
};
|
|
}
|