xwax: init at version 1.9 (#377421)
[NixPkgs.git] / pkgs / by-name / we / websploit / package.nix
blobaafccf28a69e04deec8443ebcdc89a55ef9d971f
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "websploit";
9   version = "4.0.4";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "f4rih";
14     repo = "websploit";
15     tag = version;
16     hash = "sha256-LpDfJmH2FbL37Fk86CAC/bxFqM035DBN6c6FPfGpaIw=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     setuptools
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     requests
25     scapy
26   ];
28   # Project has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "websploit"
33   ];
35   meta = with lib; {
36     description = "High level MITM framework";
37     homepage = "https://github.com/f4rih/websploit";
38     changelog = "https://github.com/f4rih/websploit/releases/tag/${version}";
39     license = licenses.mit;
40     maintainers = with maintainers; [ emilytrau ];
41     mainProgram = "websploit";
42   };