Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1.2 KiB
Nix
64 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "knowsmore";
|
|
version = "0.1.49";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "helviojunior";
|
|
repo = "knowsmore";
|
|
tag = "v${version}";
|
|
hash = "sha256-1qWbDf5lh9HogjjPoI51znpcQrriB2Eg4eA4xDQDYA8=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"neo4j"
|
|
"urllib3"
|
|
];
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
aioconsole
|
|
ansi2image
|
|
beautifulsoup4
|
|
clint
|
|
colorama
|
|
impacket
|
|
levenshtein
|
|
minikerberos
|
|
neo4j
|
|
numpy
|
|
pypsrp
|
|
requests
|
|
tabulate
|
|
urllib3
|
|
xmltodict
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "knowsmore" ];
|
|
|
|
enabledTestPaths = [ "tests/tests*" ];
|
|
|
|
disabledTests = [
|
|
# Issue with later neo4j versions
|
|
"test_create_db"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for pentesting Microsoft Active Directory";
|
|
homepage = "https://github.com/helviojunior/knowsmore";
|
|
changelog = "https://github.com/helviojunior/knowsmore/releases/tag/${src.tag}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "knowsmore";
|
|
};
|
|
}
|