Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / qiling / default.nix
blobb7d424be3bfebcd14c24a6a400d1f83eb06d066c
1 { lib
2 , buildPythonPackage
3 , capstone
4 , fetchFromGitHub
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 = [
52     "qiling"
53   ];
55   meta = with lib; {
56     description = "Qiling Advanced Binary Emulation Framework";
57     homepage = "https://qiling.io/";
58     changelog = "https://github.com/qilingframework/qiling/releases/tag/${version}";
59     license = licenses.gpl2Only;
60     maintainers = [ ];
61   };