mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
![Silvan Mosberger](/assets/img/avatar_default.png)
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|