2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, websockets
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mattermostdriver";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "7.3.2";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "2e4d7b4a17d3013e279c6f993746ea18cd60b45d8fa3be24f47bc2de22b9b3b4";
|
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;
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ globin ];
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
}
|