about summary refs log tree commit diff
path: root/pkgs/by-name/he/hekatomb/package.nix
blob: 1d9df3a032156645a03751e294e6bbc4db5ca4ad (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
46
47
48
49
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "hekatomb";
  version = "1.5.14-unstable-2024-02-14";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProcessusT";
    repo = "HEKATOMB";
    rev = "8cd372fd5d93e8b43c2cbe2ab2cada635f00e9dd";
    hash = "sha256-2juP2SuCfY4z2J27BlodrsP+29BjGxKDIDOW0mmwCPY=";
  };

  pythonRelaxDeps = [
    "impacket"
  ];

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
    pythonRelaxDepsHook
  ];

  propagatedBuildInputs = with python3.pkgs; [
    chardet
    dnspython
    impacket
    ldap3
    pycryptodomex
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "hekatomb"
  ];

  meta = with lib; {
    description = "Tool to connect to LDAP directory to retrieve informations";
    homepage = "https://github.com/ProcessusT/HEKATOMB";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
    mainProgram = "hekatomb";
  };
}