fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
44 lines
847 B
Nix
44 lines
847 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
dnspython,
|
|
fetchPypi,
|
|
impacket,
|
|
ldap3,
|
|
pycryptodome,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bloodhound-py";
|
|
version = "1.7.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "bloodhound";
|
|
hash = "sha256-USZU19dLppoq19+JMFtiojyJk6bj96nP2JQDq7JFkHM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
dnspython
|
|
impacket
|
|
ldap3
|
|
pycryptodome
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "bloodhound" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python based ingestor for BloodHound, based on Impacket";
|
|
mainProgram = "bloodhound-python";
|
|
homepage = "https://github.com/dirkjanm/BloodHound.py";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ exploitoverload ];
|
|
};
|
|
}
|