@@ -0,0 +1,43 @@
1+{ lib
2+, buildPythonApplication
3+, fetchPypi
4+, mock
5+, pytestCheckHook
6+, six
7+}:
8+
9+buildPythonApplication rec {
10+ pname = "wad";
11+ version = "0.4.6";
12+
13+ src = fetchPypi {
14+ inherit pname;
15+ inherit version;
16+ sha256 = "02jq77h6g9v7n4qqq7qri6wmhggy257983dwgmpjsf4qsagkgwy8";
17+ };
18+
19+ propagatedBuildInputs = [
20+ six
21+ ];
22+
23+ checkInputs = [
24+ pytestCheckHook
25+ mock
26+ ];
27+
28+ pythonImportsCheck = [ "wad" ];
29+
30+ meta = with lib; {
31+ description = "Tool for detecting technologies used by web applications";
32+ longDescription = ''
33+ WAD lets you analyze given URL(s) and detect technologies used by web
34+ application behind that URL, from the OS and web server level, to the
35+ programming platform and frameworks, as well as server- and client-side
36+ applications, tools and libraries.
37+ '';
38+ homepage = "https://github.com/CERN-CERT/WAD";
39+ # wad is GPLv3+, wappalyzer source is MIT
40+ license = with licenses; [ gpl3Plus mit ];
41+ maintainers = with maintainers; [ fab ];
42+ };
43+}