Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mattermostdriver / default.nix
blob629960797b03722ef0f7f2c34916029dac9c4d01
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , websockets
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "mattermostdriver";
11   version = "7.3.2";
13   disabled = pythonOlder "3.5";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "2e4d7b4a17d3013e279c6f993746ea18cd60b45d8fa3be24f47bc2de22b9b3b4";
18   };
20   propagatedBuildInputs = [ websockets requests ];
22   pythonImportsCheck = [ "mattermostdriver" ];
24   # no tests
25   doCheck = false;
27   meta = with lib; {
28     description = "A Python Mattermost Driver";
29     homepage = "https://github.com/Vaelor/python-mattermost-driver";
30     license = licenses.mit;
31     maintainers = with maintainers; [ globin ];
32   };