nixpkgs/pkgs/tools/security/wad/default.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

2020-12-31 16:44:36 +00:00
{ lib
2021-12-11 22:01:07 +00:00
, fetchFromGitHub
, python3
2020-12-31 16:44:36 +00:00
}:
2021-12-11 22:01:07 +00:00
python3.pkgs.buildPythonApplication rec {
2020-12-31 16:44:36 +00:00
pname = "wad";
version = "0.4.6";
2021-12-11 22:01:07 +00:00
format = "setuptools";
2020-12-31 16:44:36 +00:00
2021-12-11 22:01:07 +00:00
src = fetchFromGitHub {
owner = "CERN-CERT";
repo = "WAD";
rev = "v${version}";
hash = "sha256-/mlmOzFkyKpmK/uk4813Wk0cf/+ynX3Qxafnd1mGR5k=";
2020-12-31 16:44:36 +00:00
};
2021-12-11 22:01:07 +00:00
propagatedBuildInputs = with python3.pkgs; [
2020-12-31 16:44:36 +00:00
six
];
nativeCheckInputs = with python3.pkgs; [
2020-12-31 16:44:36 +00:00
mock
2021-12-11 22:01:07 +00:00
pytestCheckHook
2020-12-31 16:44:36 +00:00
];
2021-12-11 22:01:07 +00:00
pythonImportsCheck = [
"wad"
];
2020-12-31 16:44:36 +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 ];
};
}