mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
2096642430
Conflicts: - pkgs/os-specific/windows/mingw-w64/default.nix
48 lines
1012 B
Nix
48 lines
1012 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ad-miner";
|
|
version = "1.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mazars-Tech";
|
|
repo = "AD_Miner";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-BSUMNVHhclHzQf3Z0p2ZZjfQIZQyc2ZeQ67PXRz1RBk=";
|
|
};
|
|
|
|
# All requirements are pinned
|
|
pythonRelaxDeps = true;
|
|
|
|
build-system = with python3.pkgs; [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
neo4j
|
|
numpy
|
|
pytz
|
|
tqdm
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
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";
|
|
changelog = "https://github.com/Mazars-Tech/AD_Miner/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "AD-miner";
|
|
};
|
|
}
|