summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pex-entysec/default.nix
blob: be99de21a735935f7679bf6e2f347f664af28066 (plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
  lib,
  adb-shell,
  alive-progress,
  buildPythonPackage,
  fetchFromGitHub,
  hatasm,
  manuf,
  netaddr,
  netifaces,
  paramiko,
  pefile,
  pyasyncore,
  pychromecast,
  pydantic,
  pyopenssl,
  pysnmp,
  requests,
  scapy,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "pex-entysec";
  version = "1.0.0-unstable-2024-10-13";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "EntySec";
    repo = "Pex";
    # https://github.com/EntySec/Pex/issues/11
    rev = "0a776da9afc1a88fcb74fac96648666748b3d965";
    hash = "sha256-37NoQL/BieMoZbaRiIu9QVAO2SEt7QQFPZ+KHzv3dRk=";
  };

  build-system = [ setuptools ];

  dependencies = [
    adb-shell
    alive-progress
    hatasm
    manuf
    netaddr
    netifaces
    paramiko
    pefile
    pyasyncore
    pychromecast
    pydantic
    pyopenssl
    pysnmp
    requests
    scapy
  ];

  pythonImportsCheck = [ "pex" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Collection of special tools for providing high quality penetration testing using pure python programming language";
    homepage = "https://github.com/EntySec/Pex";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})