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";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.0.53";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
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}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-67jVpzvdjEcjFmTRE2YjPr4AO1iN+PakwoKcjvimt8g=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"cryptography"
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = with python3.pkgs; [
|
2023-10-09 19:29:22 +00:00
|
|
|
cython
|
2024-02-29 20:09:43 +00:00
|
|
|
pythonRelaxDepsHook
|
|
|
|
setuptools
|
2023-10-09 19:29:22 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = 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
|
2024-02-29 20:09:43 +00:00
|
|
|
gssapi
|
2021-01-15 22:18:51 +00:00
|
|
|
ldap3
|
2024-02-29 20:09:43 +00:00
|
|
|
oscrypto
|
|
|
|
pycryptodome
|
2023-10-09 19:29:22 +00:00
|
|
|
pycryptodomex
|
|
|
|
six
|
2021-01-15 22:18:51 +00:00
|
|
|
termcolor
|
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
# Project has no tests
|
2021-01-15 22:18:51 +00:00
|
|
|
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 ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ldeep";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
}
|