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

python3.pkgs.buildPythonApplication rec {
  pname = "wad";
  version = "0.4.6";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "CERN-CERT";
    repo = "WAD";
    rev = "v${version}";
    hash = "sha256-/mlmOzFkyKpmK/uk4813Wk0cf/+ynX3Qxafnd1mGR5k=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    six
  ];

  nativeCheckInputs = with python3.pkgs; [
    mock
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "wad"
  ];

  meta = with lib; {
    description = "Tool for detecting technologies used by web applications";
    mainProgram = "wad";
    longDescription = ''
      WAD lets you analyze given URL(s) and detect technologies used by web
      application behind that URL, from the OS and web server level, to the
      programming platform and frameworks, as well as server- and client-side
      applications, tools and libraries.
    '';
    homepage = "https://github.com/CERN-CERT/WAD";
    # wad is GPLv3+, wappalyzer source is MIT
    license = with licenses; [ gpl3Plus mit ];
    maintainers = with maintainers; [ fab ];
  };
}