about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix
blob: 0c2f6512d878f68afa4ac29d5b610e8becfe0d90 (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
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "aiodnsbrute";
  version = "0.3.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "blark";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    aiodns
    click
    tqdm
    uvloop
  ];

  # Project no tests
  doCheck = false;

  pythonImportsCheck = [
    "aiodnsbrute.cli"
  ];

  meta = with lib; {
    description = "DNS brute force utility";
    mainProgram = "aiodnsbrute";
    homepage = "https://github.com/blark/aiodnsbrute";
    changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}";
    license = with licenses; [ gpl3Only ];
    maintainers = with maintainers; [ fab ];
  };
}