depot/third_party/nixpkgs/pkgs/development/python-modules/mattermostdriver/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

33 lines
678 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, websockets
, requests
}:
buildPythonPackage rec {
pname = "mattermostdriver";
version = "7.3.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "17jqcpa1xd9n7bf4d5l7wmscls34kymv27gi17pyyfjxbwk5gsga";
};
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 ];
};
}