2024-09-06 18:55:24 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3,
|
2021-01-03 12:23:18 +00:00
|
|
|
}:
|
|
|
|
|
2023-09-08 15:26:40 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-01-03 12:23:18 +00:00
|
|
|
pname = "ldeep";
|
2024-11-28 21:47:13 +00:00
|
|
|
version = "1.0.76";
|
2024-02-20 19:59:04 +00:00
|
|
|
pyproject = true;
|
2021-01-03 12:23:18 +00:00
|
|
|
|
2023-09-08 15:26:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "franc-pentest";
|
|
|
|
repo = "ldeep";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-11-28 21:47:13 +00:00
|
|
|
hash = "sha256-NVUU1VFUojeQYBHNpOqDCDjuzSUw8j5+uFxaQL1pA2U=";
|
2021-01-03 12:23:18 +00:00
|
|
|
};
|
|
|
|
|
2024-02-20 19:59:04 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"cryptography"
|
|
|
|
];
|
|
|
|
|
2024-09-06 18:55:24 +00:00
|
|
|
build-system = with python3.pkgs; [ pdm-backend ];
|
2024-06-05 15:30:33 +00:00
|
|
|
|
2024-09-06 18:55:24 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [ cython ];
|
2023-10-04 00:46:46 +00:00
|
|
|
|
2024-03-27 09:50:46 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2021-01-03 12:23:18 +00:00
|
|
|
commandparse
|
2023-09-08 15:26:40 +00:00
|
|
|
cryptography
|
2021-01-03 12:23:18 +00:00
|
|
|
dnspython
|
2024-02-20 19:59:04 +00:00
|
|
|
gssapi
|
2024-09-06 18:55:24 +00:00
|
|
|
ldap3-bleeding-edge
|
2024-02-20 19:59:04 +00:00
|
|
|
oscrypto
|
|
|
|
pycryptodome
|
2023-09-08 15:26:40 +00:00
|
|
|
pycryptodomex
|
|
|
|
six
|
2021-01-03 12:23:18 +00:00
|
|
|
termcolor
|
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
|
2024-03-27 09:50:46 +00:00
|
|
|
# Project has no tests
|
2021-01-03 12:23:18 +00:00
|
|
|
doCheck = false;
|
2023-09-08 15:26:40 +00:00
|
|
|
|
2024-09-06 18:55:24 +00:00
|
|
|
pythonImportsCheck = [ "ldeep" ];
|
2021-01-03 12:23:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "In-depth LDAP enumeration utility";
|
|
|
|
homepage = "https://github.com/franc-pentest/ldeep";
|
2023-09-08 15:26:40 +00:00
|
|
|
changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}";
|
2024-06-05 15:30:33 +00:00
|
|
|
license = licenses.mit;
|
2021-01-03 12:23:18 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-03-27 09:50:46 +00:00
|
|
|
mainProgram = "ldeep";
|
2021-01-03 12:23:18 +00:00
|
|
|
};
|
|
|
|
}
|