about summary refs log tree commit diff
path: root/pkgs/by-name/su/subprober/package.nix
blob: 6b2cc439439e10f9a9f15fd774c3209edbc9ee18 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "subprober";
  version = "1.0.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "RevoltSecurities";
    repo = "SubProber";
    rev = "refs/tags/v${version}";
    hash = "sha256-CxmePd1dw9H/XLQZ16JMF1pdFFOI59Qa2knTnKKzFvM=";
  };

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

  dependencies = with python3.pkgs; [
    aiodns
    aiofiles
    aiohttp
    alive-progress
    anyio
    appdirs
    arsenic
    beautifulsoup4
    colorama
    fake-useragent
    httpx
    requests
    rich
    structlog
    urllib3
    uvloop
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "subprober" ];

  meta = with lib; {
    description = "Subdomain scanning tool";
    homepage = "https://github.com/RevoltSecurities/SubProber";
    changelog = "https://github.com/RevoltSecurities/SubProber/releases/tag/v${version}";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
    mainProgram = "subprober";
  };
}