depot/third_party/nixpkgs/pkgs/tools/security/ldeep/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

47 lines
941 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ldeep";
version = "1.0.41";
format = "setuptools";
src = fetchFromGitHub {
owner = "franc-pentest";
repo = "ldeep";
rev = "refs/tags/${version}";
hash = "sha256-jiOZAoZx5KK/jpW/Cui1WgPhjyf5gglcgWZbzMw65Lw=";
};
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 ];
};
}