Files
nixpkgs/pkgs/development/python-modules/bloodhound-py/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

48 lines
849 B
Nix

{ lib
, buildPythonPackage
, dnspython
, fetchPypi
, impacket
, ldap3
, pycryptodome
, setuptools
}:
buildPythonPackage rec {
pname = "bloodhound-py";
version = "1.7.2";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "bloodhound";
hash = "sha256-USZU19dLppoq19+JMFtiojyJk6bj96nP2JQDq7JFkHM=";
};
nativeBuildInputs = [
setuptools
];
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";
mainProgram = "bloodhound-python";
homepage = "https://github.com/dirkjanm/BloodHound.py";
license = licenses.mit;
maintainers = with maintainers; [ exploitoverload ];
};
}