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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.1 KiB
Nix
Raw Normal View History

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