bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
38 lines
720 B
Nix
38 lines
720 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
websockets,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mattermostdriver";
|
|
version = "7.3.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2e4d7b4a17d3013e279c6f993746ea18cd60b45d8fa3be24f47bc2de22b9b3b4";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
websockets
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "mattermostdriver" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Python Mattermost Driver";
|
|
homepage = "https://github.com/Vaelor/python-mattermost-driver";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ globin ];
|
|
};
|
|
}
|