Files
nixpkgs/pkgs/development/python-modules/bloodhound-py/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
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>
2025-12-10 19:01:23 +01:00

45 lines
845 B
Nix

{
lib,
buildPythonPackage,
dnspython,
fetchPypi,
impacket,
ldap3,
pycryptodome,
setuptools,
}:
buildPythonPackage rec {
pname = "bloodhound-py";
version = "1.8.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "bloodhound";
hash = "sha256-Ne0PH92isdeaTp2JHKvixVMJoydDru0W2IXz2An0CbM=";
};
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 ];
};
}