mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
0838d4b8ad
Diff: https://github.com/Mazars-Tech/AD_Miner/compare/refs/tags/v0.6.0...v1.0.0 Changelog: https://github.com/Mazars-Tech/AD_Miner/blob/1.0.0/CHANGELOG.md
49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ad-miner";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mazars-Tech";
|
|
repo = "AD_Miner";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-HM7PR1i7/L3MuUaTBPcDblflCH40NmEYSCTJUB06Fjg=";
|
|
};
|
|
|
|
# ALl requirements are pinned
|
|
pythonRelaxDeps = true;
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = 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/${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "AD-miner";
|
|
};
|
|
}
|