summary refs log tree commit diff
path: root/pkgs/development/python-modules/twilio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/twilio/default.nix')
-rw-r--r--pkgs/development/python-modules/twilio/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/twilio/default.nix b/pkgs/development/python-modules/twilio/default.nix
index 13bbff916cf..fb11b1f63c6 100644
--- a/pkgs/development/python-modules/twilio/default.nix
+++ b/pkgs/development/python-modules/twilio/default.nix
@@ -1,19 +1,17 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
-, pythonOlder
-
+, mock
 , pyjwt
+, pytestCheckHook
+, pythonOlder
 , pytz
 , requests
-
-, mock
-, pytestCheckHook
 }:
 
 buildPythonPackage rec {
   pname = "twilio";
-  version = "7.8.0";
+  version = "7.9.2";
   format = "setuptools";
 
   disabled = pythonOlder "3.6";
@@ -22,7 +20,7 @@ buildPythonPackage rec {
     owner = "twilio";
     repo = "twilio-python";
     rev = "refs/tags/${version}";
-    sha256 = "sha256-r28iKUv+i8D6JLvsJA7x8T2KFzK26limIwqsXC5jjSE=";
+    hash = "sha256-JFCYHiPvKYveHYf6SWkmovuvas5+9IGpsnQWqVIaTto=";
   };
 
   propagatedBuildInputs = [
@@ -36,6 +34,12 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  disabledTests = [
+    # Tests require network access
+    "test_set_default_user_agent"
+    "test_set_user_agent_extensions"
+  ];
+
   pythonImportsCheck = [
     "twilio"
   ];
@@ -44,6 +48,6 @@ buildPythonPackage rec {
     description = "Twilio API client and TwiML generator";
     homepage = "https://github.com/twilio/twilio-python/";
     license = licenses.mit;
-    maintainers = with maintainers; [ ];
+    maintainers = with maintainers; [ fab ];
   };
 }