nixpkgs/pkgs/by-name/we/websecprobe/package.nix

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

41 lines
902 B
Nix
Raw Normal View History

2024-05-22 09:23:39 +00:00
{
lib,
python3,
fetchPypi,
}:
python3.pkgs.buildPythonApplication rec {
pname = "websecprobe";
2024-03-23 05:04:22 +00:00
version = "0.0.12";
pyproject = true;
src = fetchPypi {
pname = "WebSecProbe";
inherit version;
2024-03-23 05:04:22 +00:00
hash = "sha256-RX4tc6JaUVaNx8nidn8eMcbsmbcSY+VZbup6c6P7oOs=";
};
2024-05-22 09:23:39 +00:00
build-system = with python3.pkgs; [ setuptools ];
2024-03-23 12:03:07 +00:00
dependencies = with python3.pkgs; [
requests
tabulate
];
postInstall = ''
mv $out/bin/WebSecProbe $out/bin/$pname
'';
2024-05-22 09:23:39 +00:00
pythonImportsCheck = [ "WebSecProbe" ];
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}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "websecprobe";
2024-05-22 09:24:30 +00:00
platforms = platforms.linux;
};
}