567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
45 lines
845 B
Nix
45 lines
845 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
dnspython,
|
|
fetchPypi,
|
|
impacket,
|
|
ldap3,
|
|
pycryptodome,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bloodhound-py";
|
|
version = "1.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit 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 ];
|
|
};
|
|
}
|