2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
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-10-11 05:15:48 +00:00
|
|
|
version = "1.0.72";
|
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-10-11 05:15:48 +00:00
|
|
|
hash = "sha256-WfrQd0P1TegeIwxQVycgx2n+IxqnKLRF1wxzNnjHaEo=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"cryptography"
|
|
|
|
];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = with python3.pkgs; [ pdm-backend ];
|
2024-06-20 14:57:18 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [ cython ];
|
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
|
2024-09-19 14:19:46 +00:00
|
|
|
ldap3-bleeding-edge
|
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
|
|
|
|
2024-09-19 14:19:46 +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}";
|
2024-06-20 14:57:18 +00:00
|
|
|
license = licenses.mit;
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ldeep";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
}
|