depot/third_party/nixpkgs/pkgs/tools/security/ldeep/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

47 lines
941 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ldeep";
version = "1.0.51";
format = "setuptools";
src = fetchFromGitHub {
owner = "franc-pentest";
repo = "ldeep";
rev = "refs/tags/${version}";
hash = "sha256-UbZotbq97ehVj8dF0vXM2Z61IG1H+21xk14DXKmWirA=";
};
nativeBuildInputs = with python3.pkgs; [
cython
];
propagatedBuildInputs = with python3.pkgs; [
commandparse
cryptography
dnspython
ldap3
pycryptodomex
six
termcolor
tqdm
];
# no tests are present
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 ];
};
}