about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ad/adidnsdump/package.nix
blob: dc2268d892d9f3b8eba1fbd2960fd84a8fb7f17d (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
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "adidnsdump";
  version = "1.3.1-unstable-2023-12-13";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "dirkjanm";
    repo = "adidnsdump";
    rev = "8bbb4b05b2d1b792f3c77ce0a4a762ab9e08727d";
    hash = "sha256-dIbnUyV3gdWHHoyzD0ME2fXlMoiQkdrqQ7qQ6Ab6qs0=";
  };

  nativeBuildInputs = with python3.pkgs; [
    setuptools
  ];

  propagatedBuildInputs = with python3.pkgs; [
    impacket
    ldap3
  ];

  pythonImportsCheck = [
    "adidnsdump"
  ];

  meta = with lib; {
    description = "Active Directory Integrated DNS dumping by any authenticated user";
    homepage = "https://github.com/dirkjanm/adidnsdump";
    changelog = "https://github.com/dirkjanm/adidnsdump/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "adidnsdump";
  };
}