1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, mock
5, nose
6, pyjwt
7, pysocks
8, pytz
9, requests
10, six
11}:
12
13buildPythonPackage rec {
14 pname = "twilio";
15 version = "6.56.0";
16
17
18 src = fetchFromGitHub {
19 owner = "twilio";
20 repo = "twilio-python";
21 rev = version;
22 sha256 = "sha256-vVJuuPxVyOqnplPYrjCjIm5IyIFZvsCMoDLrrHpHK+4=";
23 };
24
25 propagatedBuildInputs = [
26 pyjwt
27 pysocks
28 pytz
29 requests
30 six
31 ];
32
33 checkInputs = [
34 mock
35 nose
36 ];
37
38 pythonImportsCheck = [ "twilio" ];
39
40 meta = with lib; {
41 description = "Twilio API client and TwiML generator";
42 homepage = "https://github.com/twilio/twilio-python/";
43 license = licenses.mit;
44 maintainers = with maintainers; [ ];
45 };
46}