depot/third_party/nixpkgs/pkgs/tools/security/ldeep/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

57 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ldeep";
version = "1.0.54";
pyproject = true;
src = fetchFromGitHub {
owner = "franc-pentest";
repo = "ldeep";
rev = "refs/tags/${version}";
hash = "sha256-YH7n+gvMzOYY9xnGaQZUOHKLlwtrtmyh8AcuLWFGlJM=";
};
pythonRelaxDeps = [
"cryptography"
];
build-system = with python3.pkgs; [
cython
pythonRelaxDepsHook
setuptools
];
dependencies = with python3.pkgs; [
commandparse
cryptography
dnspython
gssapi
ldap3
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 = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "ldeep";
};
}