1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, websockets 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "mattermostdriver"; 11 version = "7.3.2"; 12 13 disabled = pythonOlder "3.5"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "2e4d7b4a17d3013e279c6f993746ea18cd60b45d8fa3be24f47bc2de22b9b3b4"; 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 ]; 32 }; 33}