Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 1.0 kB view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5, black 6, codecov 7, flake8 8, isPy3k 9, mock 10, pytest-mock 11, pytestCheckHook 12, pytestcov 13, pytestrunner 14, requests 15, responses 16, six 17, websocket_client 18}: 19 20buildPythonPackage rec { 21 pname = "python-slackclient"; 22 version = "2.5.0"; 23 24 disabled = !isPy3k; 25 26 src = fetchFromGitHub { 27 owner = "slackapi"; 28 repo = pname; 29 rev = version; 30 sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk"; 31 }; 32 33 propagatedBuildInputs = [ 34 aiohttp 35 websocket_client 36 requests 37 six 38 ]; 39 40 checkInputs = [ 41 black 42 codecov 43 flake8 44 mock 45 pytest-mock 46 pytestCheckHook 47 pytestcov 48 pytestrunner 49 responses 50 ]; 51 52 meta = with stdenv.lib; { 53 description = "A client for Slack, which supports the Slack Web API and Real Time Messaging (RTM) API"; 54 homepage = "https://github.com/slackapi/python-slackclient"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ flokli psyanticy ]; 57 }; 58}