depot/third_party/nixpkgs/pkgs/development/python-modules/mattermostdriver/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
722 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 ];
};
}