nixpkgs/pkgs/by-name/ad/ad-miner/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1005 B
Nix
Raw Normal View History

2024-08-07 16:05:34 +03:00
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "ad-miner";
2024-08-07 12:14:45 +03:00
version = "1.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Mazars-Tech";
repo = "AD_Miner";
rev = "refs/tags/v${version}";
2024-08-07 12:14:45 +03:00
hash = "sha256-Xb0RFllg3oqW6PhUjRxDkgXd7lv7XD37FfBsnpxrN+s=";
};
2024-02-18 19:06:09 +03:00
# All requirements are pinned
pythonRelaxDeps = true;
2024-08-07 16:05:34 +03:00
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [
neo4j
numpy
pytz
tqdm
];
# Project has no tests
doCheck = false;
2024-08-07 16:05:34 +03:00
pythonImportsCheck = [ "ad_miner" ];
meta = with lib; {
description = "Active Directory audit tool that leverages cypher queries to crunch data from Bloodhound";
homepage = "https://github.com/Mazars-Tech/AD_Miner";
2024-02-18 19:06:09 +03:00
changelog = "https://github.com/Mazars-Tech/AD_Miner/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "AD-miner";
};
}