diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-12-15 11:44:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 11:44:09 +0100 |
commit | d5642915e2e34157fd4294440f16feb1a9cd8e77 (patch) | |
tree | db5b287be5b46d262abc61221345e51be8376079 /pkgs/by-name | |
parent | 8f54524603df201aa56006e9d1916444c35fe14e (diff) | |
parent | e2e9ebe806d4df3668757aa8deb7698893c680a1 (diff) | |
download | nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar.gz nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar.bz2 nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar.lz nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar.xz nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.tar.zst nixlib-d5642915e2e34157fd4294440f16feb1a9cd8e77.zip |
Merge pull request #274224 from fabaff/ad-miner
ad-miner: init at 0.6.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ad/ad-miner/package.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/by-name/ad/ad-miner/package.nix b/pkgs/by-name/ad/ad-miner/package.nix new file mode 100644 index 000000000000..d8134263c5f7 --- /dev/null +++ b/pkgs/by-name/ad/ad-miner/package.nix @@ -0,0 +1,44 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "ad-miner"; + version = "0.6.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Mazars-Tech"; + repo = "AD_Miner"; + rev = "refs/tags/v${version}"; + hash = "sha256-Iwg00vAnCs9FbEAmB54vNDLmxyZeCtZMl/VEFoYeEcM="; + }; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + ]; + + 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"; + }; +} |