diff --git a/pkgs/development/python-modules/bloodhound-py/default.nix b/pkgs/development/python-modules/bloodhound-py/default.nix index f979ba8c7ddc..f1bdcd362ade 100644 --- a/pkgs/development/python-modules/bloodhound-py/default.nix +++ b/pkgs/development/python-modules/bloodhound-py/default.nix @@ -1,10 +1,17 @@ { lib +, buildPythonPackage +, dnspython , fetchPypi -, python3 +, impacket +, ldap3 +, pycryptodome +, setuptools }: -python3.pkgs.buildPythonPackage rec { + +buildPythonPackage rec { pname = "bloodhound-py"; version = "1.7.2"; + pyproject = true; src = fetchPypi { inherit version; @@ -12,17 +19,26 @@ python3.pkgs.buildPythonPackage rec { hash = "sha256-USZU19dLppoq19+JMFtiojyJk6bj96nP2JQDq7JFkHM="; }; - propagatedBuildInputs = with python3.pkgs; [ - impacket - ldap3 - dnspython + nativeBuildInputs = [ + setuptools ]; - # the package has no tests + 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."; + description = "Python based ingestor for BloodHound, based on Impacket"; homepage = "https://github.com/dirkjanm/BloodHound.py"; license = licenses.mit; maintainers = with maintainers; [ exploitoverload ];