2024-05-22 09:23:39 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3,
|
|
|
|
fetchPypi,
|
2023-11-07 22:23:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "websecprobe";
|
2024-03-23 05:04:22 +00:00
|
|
|
version = "0.0.12";
|
2023-11-07 22:23:06 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "WebSecProbe";
|
|
|
|
inherit version;
|
2024-03-23 05:04:22 +00:00
|
|
|
hash = "sha256-RX4tc6JaUVaNx8nidn8eMcbsmbcSY+VZbup6c6P7oOs=";
|
2023-11-07 22:23:06 +00:00
|
|
|
};
|
|
|
|
|
2024-05-22 09:23:39 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
2023-11-07 22:23:06 +00:00
|
|
|
|
2024-03-23 12:03:07 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2023-11-07 22:23:06 +00:00
|
|
|
requests
|
|
|
|
tabulate
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/WebSecProbe $out/bin/$pname
|
|
|
|
'';
|
|
|
|
|
2024-05-22 09:23:39 +00:00
|
|
|
pythonImportsCheck = [ "WebSecProbe" ];
|
2023-11-07 22:23:06 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Web Security Assessment Tool";
|
|
|
|
homepage = "https://github.com/spyboy-productions/WebSecProbe/";
|
2024-03-23 12:03:07 +00:00
|
|
|
changelog = "https://github.com/spyboy-productions/WebSecProbe/releases/tag/${version}";
|
2023-11-07 22:23:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
mainProgram = "websecprobe";
|
2024-05-22 09:24:30 +00:00
|
|
|
platforms = platforms.linux;
|
2023-11-07 22:23:06 +00:00
|
|
|
};
|
|
|
|
}
|