about summary refs log tree commit diff
path: root/pkgs/by-name/br/breads-ad/package.nix
blob: 3f897bf108063480bbd46cd4be018c6148992e27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "breads-ad";
  version = "1.2.4-unstable-2024-05-27";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "oppsec";
    repo = "breads";
    rev = "bdfc8b5f0357a34847767505ddc98734ca3b491f";
    hash = "sha256-U1q15D59N55qBf4NVOpe5RpQjlE1ye2TNNIZf2IZV3U=";
  };

  build-system = with python3.pkgs; [
    setuptools
  ];

  dependencies = with python3.pkgs; [
    impacket
    ldap3
    rich
  ];

  # Project has no tests
  doCheck = false;

  meta = with lib; {
    description = "Tool to evaluate Active Directory Security";
    homepage = "https://github.com/oppsec/breads";
    changelog = "https://github.com/oppsec/breads/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "breads-ad";
  };
}