python313Packages.traits: fix build (#373698)
[NixPkgs.git] / pkgs / development / python-modules / qiling / default.nix
blob34de987c8e4ef3cf82d9be71cf8797c6f6cec120
2   lib,
3   buildPythonPackage,
4   capstone,
5   fetchPypi,
6   gevent,
7   keystone-engine,
8   multiprocess,
9   pefile,
10   pyelftools,
11   pythonOlder,
12   python-fx,
13   python-registry,
14   pyyaml,
15   questionary,
16   termcolor,
17   unicorn,
20 buildPythonPackage rec {
21   pname = "qiling";
22   version = "1.4.6";
23   format = "setuptools";
25   disabled = pythonOlder "3.7";
27   src = fetchPypi {
28     inherit pname version;
29     hash = "sha256-l3WQBlJic4lXCe5Z1FmoxaqOblE7uAaW2gG/nTn84Kc=";
30   };
32   propagatedBuildInputs = [
33     capstone
34     gevent
35     keystone-engine
36     multiprocess
37     pefile
38     pyelftools
39     python-fx
40     python-registry
41     pyyaml
42     termcolor
43     questionary
44     unicorn
45   ];
47   # Tests are broken (attempt to import a file that tells you not to import it,
48   # amongst other things)
49   doCheck = false;
51   pythonImportsCheck = [ "qiling" ];
53   meta = with lib; {
54     description = "Qiling Advanced Binary Emulation Framework";
55     homepage = "https://qiling.io/";
56     changelog = "https://github.com/qilingframework/qiling/releases/tag/${version}";
57     license = licenses.gpl2Only;
58     maintainers = [ ];
59   };