taskhound: init at 1.0.0 (#474894)

This commit is contained in:
Fabian Affolter
2025-12-29 08:18:44 +00:00
committed by GitHub
3 changed files with 82 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "taskhound";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "1r0BIT";
repo = "TaskHound";
tag = "v${version}";
hash = "sha256-qQ1OpJCgMcRKGkZCRjLiUO+u4SSIA/qExzq2K7m7BD8=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
bhopengraph
dnspython
impacket
ldap3
neo4j
pycryptodome
requests
];
nativeCheckInputs = with python3.pkgs; [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "taskhound" ];
meta = {
description = "Tool to enumerate privileged Scheduled Tasks on Remote Systems";
homepage = "https://github.com/1r0BIT/TaskHound";
changelog = "https://github.com/1r0BIT/TaskHound/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "taskhound";
};
}
@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "bhopengraph";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "p0dalirius";
repo = "bhopengraph";
tag = "v${version}";
hash = "sha256-rpJZhABYsiv3uZdb6zLEYGYMOv8Gyd6kZ9k0d9Ob1FQ=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "bhopengraph" ];
# Module has no tests
doCheck = false;
meta = {
description = "Library to create BloodHound OpenGraphs";
homepage = "https://github.com/p0dalirius/bhopengraph";
changelog = "https://github.com/p0dalirius/bhopengraph/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -1958,6 +1958,8 @@ self: super: with self; {
bgutil-ytdlp-pot-provider = callPackage ../development/python-modules/bgutil-ytdlp-pot-provider { };
bhopengraph = callPackage ../development/python-modules/bhopengraph { };
bibtexparser = callPackage ../development/python-modules/bibtexparser { };
bibtexparser_2 = callPackage ../development/python-modules/bibtexparser/2.nix { };