mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Merge pull request #233962 from fabaff/twilio-bump
python310Packages.twilio: 7.17.0 -> 8.2.1
This commit is contained in:
commit
dbed5711b1
@ -1,10 +1,14 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aiohttp-retry
|
||||
, aiounittest
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, multidict
|
||||
, pyngrok
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -14,25 +18,29 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "7.17.0";
|
||||
version = "8.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-14agJq7+fuQXqFDS8qfCj45XW/v3CekKmC5TA/5+eTk=";
|
||||
hash = "sha256-joL+6+LfrF2bWkw3hViA97RYqcMVWw+MlHub+OaXlgI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aiohttp-retry
|
||||
pyjwt
|
||||
pyngrok
|
||||
pytz
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiounittest
|
||||
cryptography
|
||||
django
|
||||
mock
|
||||
@ -46,6 +54,12 @@ buildPythonPackage rec {
|
||||
"test_set_user_agent_extensions"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require API token
|
||||
"tests/cluster/test_webhook.py"
|
||||
"tests/cluster/test_cluster.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"twilio"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user