ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ldeep";
|
|
version = "1.0.53";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "franc-pentest";
|
|
repo = "ldeep";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-67jVpzvdjEcjFmTRE2YjPr4AO1iN+PakwoKcjvimt8g=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"cryptography"
|
|
];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
cython
|
|
pythonRelaxDepsHook
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
commandparse
|
|
cryptography
|
|
dnspython
|
|
gssapi
|
|
ldap3
|
|
oscrypto
|
|
pycryptodome
|
|
pycryptodomex
|
|
six
|
|
termcolor
|
|
tqdm
|
|
];
|
|
|
|
# no tests are present
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"ldeep"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "In-depth LDAP enumeration utility";
|
|
mainProgram = "ldeep";
|
|
homepage = "https://github.com/franc-pentest/ldeep";
|
|
changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|