2021-05-09 17:46:14 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, websockets
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mattermostdriver";
|
2021-08-26 21:32:38 +02:00
|
|
|
version = "7.3.1";
|
2021-05-09 17:46:14 +02:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 21:32:38 +02:00
|
|
|
sha256 = "bf629c4b8f825bd7196208aa93995ac5077bd60939ba67cca314a7f13c1dbcea";
|
2021-05-09 17:46:14 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|