504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
34 lines
704 B
Nix
34 lines
704 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 = "A Python Mattermost Driver";
|
|
homepage = "https://github.com/Vaelor/python-mattermost-driver";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ globin ];
|
|
};
|
|
}
|