nixpkgs/pkgs/tools/security/ldeep/default.nix

58 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-03 12:23:18 +00:00
{ lib
, fetchFromGitHub
, python3
2021-01-03 12:23:18 +00:00
}:
python3.pkgs.buildPythonApplication rec {
2021-01-03 12:23:18 +00:00
pname = "ldeep";
version = "1.0.53";
2024-02-20 19:59:04 +00:00
pyproject = true;
2021-01-03 12:23:18 +00:00
src = fetchFromGitHub {
owner = "franc-pentest";
repo = "ldeep";
rev = "refs/tags/${version}";
hash = "sha256-67jVpzvdjEcjFmTRE2YjPr4AO1iN+PakwoKcjvimt8g=";
2021-01-03 12:23:18 +00:00
};
2024-02-20 19:59:04 +00:00
pythonRelaxDeps = [
"cryptography"
];
nativeBuildInputs = with python3.pkgs; [
cython
2024-02-20 19:59:04 +00:00
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
2021-01-03 12:23:18 +00:00
commandparse
cryptography
2021-01-03 12:23:18 +00:00
dnspython
2024-02-20 19:59:04 +00:00
gssapi
2021-01-03 12:23:18 +00:00
ldap3
2024-02-20 19:59:04 +00:00
oscrypto
pycryptodome
pycryptodomex
six
2021-01-03 12:23:18 +00:00
termcolor
tqdm
];
# no tests are present
doCheck = false;
pythonImportsCheck = [
"ldeep"
];
2021-01-03 12:23:18 +00:00
meta = with lib; {
description = "In-depth LDAP enumeration utility";
mainProgram = "ldeep";
2021-01-03 12:23:18 +00:00
homepage = "https://github.com/franc-pentest/ldeep";
changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}";
2021-01-03 12:23:18 +00:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}