depot/third_party/nixpkgs/pkgs/tools/security/ldeep/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

60 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ldeep";
version = "1.0.58";
pyproject = true;
src = fetchFromGitHub {
owner = "franc-pentest";
repo = "ldeep";
rev = "refs/tags/${version}";
hash = "sha256-u8qcihjGZmOAjjVBa6nLruD74zGozHnahShqUUXILcY=";
};
pythonRelaxDeps = [
"cryptography"
];
build-system = with python3.pkgs; [
pdm-backend
];
nativeBuildInputs = with python3.pkgs; [
cython
pythonRelaxDepsHook
];
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 = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "ldeep";
};
}