python3Packages.slackclient: 2.5.0 -> 2.9.3
This commit is contained in:
parent
2ed8597999
commit
73a5be34ee
@ -1,15 +1,15 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, black
|
, buildPythonPackage
|
||||||
, codecov
|
, codecov
|
||||||
|
, fetchFromGitHub
|
||||||
, flake8
|
, flake8
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, mock
|
, mock
|
||||||
|
, psutil
|
||||||
|
, pytest-cov
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytestcov
|
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, requests
|
, requests
|
||||||
, responses
|
, responses
|
||||||
@ -19,15 +19,15 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-slackclient";
|
pname = "python-slackclient";
|
||||||
version = "2.5.0";
|
version = "2.9.3";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "slackapi";
|
owner = "slackapi";
|
||||||
repo = pname;
|
repo = "python-slack-sdk";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk";
|
sha256 = "1rfb7izgddv28ag37gdnv3sd8z2zysrxs7ad8x20x690zshpaq16";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -38,17 +38,21 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
black
|
|
||||||
codecov
|
codecov
|
||||||
flake8
|
flake8
|
||||||
mock
|
mock
|
||||||
|
psutil
|
||||||
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytestcov
|
|
||||||
pytestrunner
|
pytestrunner
|
||||||
responses
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Exclude tests that requires network features
|
||||||
|
pytestFlagsArray = [ "--ignore=integration_tests" ];
|
||||||
|
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "slack" ];
|
pythonImportsCheck = [ "slack" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user