depot/third_party/nixpkgs/pkgs/development/python-modules/mattermostdriver/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

33 lines
690 B
Nix

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