2021-01-05 17:05:55 +00:00
|
|
|
{ lib
|
2021-12-19 01:06:50 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
2021-01-05 17:05:55 +00:00
|
|
|
}:
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-01-05 17:05:55 +00:00
|
|
|
pname = "wad";
|
|
|
|
version = "0.4.6";
|
2021-12-19 01:06:50 +00:00
|
|
|
format = "setuptools";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CERN-CERT";
|
|
|
|
repo = "WAD";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-/mlmOzFkyKpmK/uk4813Wk0cf/+ynX3Qxafnd1mGR5k=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-01-05 17:05:55 +00:00
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
checkInputs = with python3.pkgs; [
|
2021-01-05 17:05:55 +00:00
|
|
|
mock
|
2021-12-19 01:06:50 +00:00
|
|
|
pytestCheckHook
|
2021-01-05 17:05:55 +00:00
|
|
|
];
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"wad"
|
|
|
|
];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool for detecting technologies used by web applications";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|