Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / we / websecprobe / package.nix
blobfb81063526cf13d3bb4c6e7d58ff49b95ab93313
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "websecprobe";
8   version = "0.0.10";
9   pyproject = true;
11   src = fetchPypi {
12     pname = "WebSecProbe";
13     inherit version;
14     hash = "sha256-QvXOyQUptMyim/bgvhihjgGs7vX0qX8MqK2ol8q9ePc=";
15   };
17   nativeBuildInputs = with python3.pkgs; [
18     setuptools
19     wheel
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     requests
24     tabulate
25   ];
27   postInstall = ''
28     mv $out/bin/WebSecProbe $out/bin/$pname
29   '';
31   pythonImportsCheck = [
32     "WebSecProbe"
33   ];
35   meta = with lib; {
36     description = "Web Security Assessment Tool";
37     homepage = "https://github.com/spyboy-productions/WebSecProbe/";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40     mainProgram = "websecprobe";
41   };