nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "taskhound";
9 version = "1.0.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "1r0BIT";
14 repo = "TaskHound";
15 tag = "v${version}";
16 hash = "sha256-qQ1OpJCgMcRKGkZCRjLiUO+u4SSIA/qExzq2K7m7BD8=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 bhopengraph
23 dnspython
24 impacket
25 ldap3
26 neo4j
27 pycryptodome
28 requests
29 ];
30
31 nativeCheckInputs = with python3.pkgs; [
32 pytest-cov-stub
33 pytestCheckHook
34 ];
35
36 pythonImportsCheck = [ "taskhound" ];
37
38 meta = {
39 description = "Tool to enumerate privileged Scheduled Tasks on Remote Systems";
40 homepage = "https://github.com/1r0BIT/TaskHound";
41 changelog = "https://github.com/1r0BIT/TaskHound/releases/tag/${src.tag}";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ fab ];
44 mainProgram = "taskhound";
45 };
46}