From 4a303b56e72924001288cd627e5baae910ae052a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 Nov 2023 23:23:06 +0100 Subject: [PATCH] websecprobe: init at 0.0.10 Web Security Assessment Tool https://github.com/spyboy-productions/WebSecProbe/ --- pkgs/by-name/we/websecprobe/package.nix | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/we/websecprobe/package.nix diff --git a/pkgs/by-name/we/websecprobe/package.nix b/pkgs/by-name/we/websecprobe/package.nix new file mode 100644 index 000000000000..fb81063526cf --- /dev/null +++ b/pkgs/by-name/we/websecprobe/package.nix @@ -0,0 +1,42 @@ +{ lib +, python3 +, fetchPypi +}: + +python3.pkgs.buildPythonApplication rec { + pname = "websecprobe"; + version = "0.0.10"; + pyproject = true; + + src = fetchPypi { + pname = "WebSecProbe"; + inherit version; + hash = "sha256-QvXOyQUptMyim/bgvhihjgGs7vX0qX8MqK2ol8q9ePc="; + }; + + nativeBuildInputs = with python3.pkgs; [ + setuptools + wheel + ]; + + 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"; + }; +}