evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / gophish / default.nix
blob48b4e880e5fcf93d35d06b00b1ef91eba65b556e
2   lib,
3   appdirs,
4   buildPythonPackage,
5   certifi,
6   chardet,
7   fetchFromGitHub,
8   idna,
9   packaging,
10   pyparsing,
11   python-dateutil,
12   pythonOlder,
13   requests,
14   setuptools,
15   six,
16   urllib3,
19 buildPythonPackage rec {
20   pname = "gophish";
21   version = "0.5.1";
22   pyproject = true;
24   disabled = pythonOlder "3.7";
26   src = fetchFromGitHub {
27     owner = "gophish";
28     repo = "api-client-python";
29     rev = "refs/tags/v${version}";
30     hash = "sha256-ITwwU/Xixyi9JSWbYf606HB7S5E4jiI0lEYcOdNg3mo=";
31   };
33   pythonRelaxDeps = true;
35   build-system = [ setuptools ];
38   dependencies = [
39     appdirs
40     certifi
41     chardet
42     idna
43     packaging
44     pyparsing
45     python-dateutil
46     requests
47     six
48     urllib3
49   ];
51   pythonImportsCheck = [ "gophish" ];
53   # Module has no test
54   doCheck = false;
56   meta = with lib; {
57     description = "Module to interact with Gophish";
58     homepage = "https://github.com/gophish/api-client-python";
59     changelog = "https://github.com/gophish/api-client-python/releases/tag/v${version}";
60     license = licenses.mit;
61     maintainers = with maintainers; [ fab ];
62   };