mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-15 01:33:50 +00:00
45 lines
868 B
Nix
45 lines
868 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
dnspython,
|
|
fetchPypi,
|
|
impacket,
|
|
ldap3,
|
|
pycryptodome,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bloodhound-py";
|
|
version = "1.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) version;
|
|
pname = "bloodhound";
|
|
hash = "sha256-n1+0jv73lrn2FMNhDVUPDJxgUATa2oRO4S5P7/xQyFw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
dnspython
|
|
impacket
|
|
ldap3
|
|
pycryptodome
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "bloodhound" ];
|
|
|
|
meta = {
|
|
description = "Python based ingestor for BloodHound, based on Impacket";
|
|
mainProgram = "bloodhound-python";
|
|
homepage = "https://github.com/dirkjanm/BloodHound.py";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ exploitoverload ];
|
|
};
|
|
})
|