python311Packages.bloodhound-py: refactor
This commit is contained in:
parent
62d728844e
commit
e99e2ace74
1 changed files with 24 additions and 8 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue