tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.slackclient: 2.5.0 -> 2.9.3
Fabian Affolter
5 years ago
73a5be34
2ed85979
+15
-11
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
slackclient
default.nix
+15
-11
pkgs/development/python-modules/slackclient/default.nix
···
1
1
{ lib
2
2
+
, aiohttp
2
3
, buildPythonPackage
4
4
+
, codecov
3
5
, fetchFromGitHub
4
4
-
, aiohttp
5
5
-
, black
6
6
-
, codecov
7
6
, flake8
8
7
, isPy3k
9
8
, mock
9
9
+
, psutil
10
10
+
, pytest-cov
10
11
, pytest-mock
11
12
, pytestCheckHook
12
12
-
, pytestcov
13
13
, pytestrunner
14
14
, requests
15
15
, responses
···
19
19
20
20
buildPythonPackage rec {
21
21
pname = "python-slackclient";
22
22
-
version = "2.5.0";
22
22
+
version = "2.9.3";
23
23
24
24
disabled = !isPy3k;
25
25
26
26
src = fetchFromGitHub {
27
27
-
owner = "slackapi";
28
28
-
repo = pname;
29
29
-
rev = version;
30
30
-
sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk";
27
27
+
owner = "slackapi";
28
28
+
repo = "python-slack-sdk";
29
29
+
rev = "v${version}";
30
30
+
sha256 = "1rfb7izgddv28ag37gdnv3sd8z2zysrxs7ad8x20x690zshpaq16";
31
31
};
32
32
33
33
propagatedBuildInputs = [
···
38
38
];
39
39
40
40
checkInputs = [
41
41
-
black
42
41
codecov
43
42
flake8
44
43
mock
44
44
+
psutil
45
45
+
pytest-cov
45
46
pytest-mock
46
47
pytestCheckHook
47
47
-
pytestcov
48
48
pytestrunner
49
49
responses
50
50
];
51
51
+
52
52
+
# Exclude tests that requires network features
53
53
+
pytestFlagsArray = [ "--ignore=integration_tests" ];
54
54
+
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
51
55
52
56
pythonImportsCheck = [ "slack" ];
53
57