1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, websockets
6, requests
7}:
8
9buildPythonPackage rec {
10 pname = "mattermostdriver";
11 version = "7.3.1";
12
13 disabled = pythonOlder "3.5";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "bf629c4b8f825bd7196208aa93995ac5077bd60939ba67cca314a7f13c1dbcea";
18 };
19
20 propagatedBuildInputs = [ websockets requests ];
21
22 pythonImportsCheck = [ "mattermostdriver" ];
23
24 # no tests
25 doCheck = false;
26
27 meta = with lib; {
28 description = "A Python Mattermost Driver";
29 homepage = "https://github.com/Vaelor/python-mattermost-driver";
30 license = licenses.mit;
31 maintainers = with maintainers; [ globin lheckemann ];
32 };
33}