2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
2023-10-09 19:29:22 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
2021-01-15 22:18:51 +00:00
|
|
|
}:
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-01-15 22:18:51 +00:00
|
|
|
pname = "ldeep";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.0.44";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "setuptools";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "franc-pentest";
|
|
|
|
repo = "ldeep";
|
|
|
|
rev = "refs/tags/${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-qjo5vpT+CtNiNBS0enLzQcsyq/dqRrOTHVB1qqOReM8=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-01-15 22:18:51 +00:00
|
|
|
commandparse
|
2023-10-09 19:29:22 +00:00
|
|
|
cryptography
|
2021-01-15 22:18:51 +00:00
|
|
|
dnspython
|
|
|
|
ldap3
|
2023-10-09 19:29:22 +00:00
|
|
|
pycryptodomex
|
|
|
|
six
|
2021-01-15 22:18:51 +00:00
|
|
|
termcolor
|
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests are present
|
|
|
|
doCheck = false;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"ldeep"
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "In-depth LDAP enumeration utility";
|
|
|
|
homepage = "https://github.com/franc-pentest/ldeep";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|