about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/ldeep/default.nix
blob: 82d0456a05b7b86c3c4a5399e22870e4b70c92be (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
{ lib
, buildPythonApplication
, fetchPypi
, commandparse
, dnspython
, ldap3
, termcolor
, tqdm
}:

buildPythonApplication rec {
  pname = "ldeep";
  version = "1.0.11";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-MYVC8fxLW85n8uZVMhb2Zml1lQ8vW9gw/eRLcmemQx4=";
  };

  propagatedBuildInputs = [
    commandparse
    dnspython
    ldap3
    termcolor
    tqdm
  ];

  # no tests are present
  doCheck = false;
  pythonImportsCheck = [ "ldeep" ];

  meta = with lib; {
    description = "In-depth LDAP enumeration utility";
    homepage = "https://github.com/franc-pentest/ldeep";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}