2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, websockets
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mattermostdriver";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "7.3.1";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "bf629c4b8f825bd7196208aa93995ac5077bd60939ba67cca314a7f13c1dbcea";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ websockets requests ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mattermostdriver" ];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python Mattermost Driver";
|
|
|
|
homepage = "https://github.com/Vaelor/python-mattermost-driver";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ globin lheckemann ];
|
|
|
|
};
|
|
|
|
}
|