1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 msgpack,
6 pytestCheckHook,
7 requests,
8 retry,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "pymetasploit3";
14 version = "1.0.6";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-y4YBQo6va+/NEuE+CWeueo0aEIHEnEZYBr1WH90qHxQ=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 msgpack
26 requests
27 retry
28 ];
29
30 # No tests available on PyPI
31 doCheck = false;
32
33 pythonImportsCheck = [ "pymetasploit3" ];
34
35 meta = {
36 description = "Library for Metasploit framework";
37 homepage = "https://pypi.org/project/pymetasploit3/";
38 license = with lib.licenses; [
39 gpl2Only
40 mit
41 ];
42 maintainers = with lib.maintainers; [ fab ];
43 };
44}