python310Packages.twilio: 7.17.0 -> 8.2.1
Changelog: https://github.com/twilio/twilio-python/blob/8.2.1/CHANGES.md
This commit is contained in:
parent
e2ec447c57
commit
2c898aed96
|
@ -1,10 +1,14 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, aiohttp-retry
|
||||||
|
, aiounittest
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cryptography
|
, cryptography
|
||||||
, django
|
, django
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, multidict
|
, multidict
|
||||||
|
, pyngrok
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -14,25 +18,29 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "twilio";
|
pname = "twilio";
|
||||||
version = "7.17.0";
|
version = "8.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "twilio";
|
owner = "twilio";
|
||||||
repo = "twilio-python";
|
repo = "twilio-python";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-14agJq7+fuQXqFDS8qfCj45XW/v3CekKmC5TA/5+eTk=";
|
hash = "sha256-joL+6+LfrF2bWkw3hViA97RYqcMVWw+MlHub+OaXlgI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
aiohttp-retry
|
||||||
pyjwt
|
pyjwt
|
||||||
|
pyngrok
|
||||||
pytz
|
pytz
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
aiounittest
|
||||||
cryptography
|
cryptography
|
||||||
django
|
django
|
||||||
mock
|
mock
|
||||||
|
@ -46,6 +54,12 @@ buildPythonPackage rec {
|
||||||
"test_set_user_agent_extensions"
|
"test_set_user_agent_extensions"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Tests require API token
|
||||||
|
"tests/cluster/test_webhook.py"
|
||||||
|
"tests/cluster/test_cluster.py"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"twilio"
|
"twilio"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue