587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
47 lines
849 B
Nix
47 lines
849 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 ];
|
|
};
|
|
}
|