e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
41 lines
797 B
Nix
41 lines
797 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "websecprobe";
|
|
version = "0.0.11";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "WebSecProbe";
|
|
inherit version;
|
|
hash = "sha256-OKbKz3HSTtwyx/JNUtLJBTaHQcxkUWroMg9/msVWgk4=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
requests
|
|
tabulate
|
|
];
|
|
|
|
postInstall = ''
|
|
mv $out/bin/WebSecProbe $out/bin/$pname
|
|
'';
|
|
|
|
pythonImportsCheck = [
|
|
"WebSecProbe"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Web Security Assessment Tool";
|
|
homepage = "https://github.com/spyboy-productions/WebSecProbe/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "websecprobe";
|
|
};
|
|
}
|