ieda: init at 0-unstable-2024-10-11 (#338769)
[NixPkgs.git] / pkgs / by-name / we / websecprobe / package.nix
blob893954cd77db01767f46ae7437af488c26791ed9
2   lib,
3   python3,
4   fetchPypi,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "websecprobe";
9   version = "0.0.12";
10   pyproject = true;
12   src = fetchPypi {
13     pname = "WebSecProbe";
14     inherit version;
15     hash = "sha256-RX4tc6JaUVaNx8nidn8eMcbsmbcSY+VZbup6c6P7oOs=";
16   };
18   build-system = with python3.pkgs; [ setuptools ];
20   dependencies = with python3.pkgs; [
21     requests
22     tabulate
23   ];
25   postInstall = ''
26     mv $out/bin/WebSecProbe $out/bin/$pname
27   '';
29   pythonImportsCheck = [ "WebSecProbe" ];
31   meta = with lib; {
32     description = "Web Security Assessment Tool";
33     homepage = "https://github.com/spyboy-productions/WebSecProbe/";
34     changelog = "https://github.com/spyboy-productions/WebSecProbe/releases/tag/${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ fab ];
37     mainProgram = "websecprobe";
38     platforms = platforms.linux;
39   };