about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/qiling/default.nix
blob: 0bd86c3caf53e5dc725d0eb45dca8ac077f2bcd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, buildPythonPackage
, fetchPypi
, capstone
, unicorn
, pefile
, python-registry
, keystone-engine
, pyelftools
, gevent
}:
buildPythonPackage rec {
  pname = "qiling";
  version = "1.2.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ecaa4415eea44f6f48021c1f7794c0d9fae7d64c8e43a3ff1d5de8e99bd963aa";
  };

  propagatedBuildInputs = [
    capstone
    unicorn
    pefile
    python-registry
    keystone-engine
    pyelftools
    gevent
  ];

  # 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/";
    license = licenses.gpl2Only;
    maintainers = teams.determinatesystems.members;
  };
}