159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ldeep";
|
|
version = "1.0.63";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "franc-pentest";
|
|
repo = "ldeep";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-LL8uyzj97Fp7Vbv4WC8OjI2YUzml7v08ITXkDoJAbT4=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"cryptography"
|
|
];
|
|
|
|
build-system = with python3.pkgs; [ pdm-backend ];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [ cython ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
commandparse
|
|
cryptography
|
|
dnspython
|
|
gssapi
|
|
ldap3-bleeding-edge
|
|
oscrypto
|
|
pycryptodome
|
|
pycryptodomex
|
|
six
|
|
termcolor
|
|
tqdm
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ldeep" ];
|
|
|
|
meta = with lib; {
|
|
description = "In-depth LDAP enumeration utility";
|
|
homepage = "https://github.com/franc-pentest/ldeep";
|
|
changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "ldeep";
|
|
};
|
|
}
|