python3Packages.twilio: 6.43.0 -> 6.51.1

This commit is contained in:
Fabian Affolter 2021-02-07 11:14:53 +01:00
parent 8afeffa2b8
commit 9b2976a62f

View file

@ -1,21 +1,33 @@
{ lib, buildPythonPackage, fetchFromGitHub { lib
, pyjwt, pysocks, pytz, requests, six, nose, mock }: , buildPythonPackage
, fetchFromGitHub
, mock
, nose
, pyjwt
, pysocks
, pytz
, requests
, six
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "twilio"; pname = "twilio";
version = "6.43.0"; version = "6.51.1";
# tests not included in PyPi, so fetch from github instead # tests not included in PyPi, so fetch from github instead
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "twilio"; owner = "twilio";
repo = "twilio-python"; repo = "twilio-python";
rev = version; rev = version;
sha256 = "0p2chrzakqx5694g305j0klh9lxlclm5qp0qjm6wqicivyybggzg"; sha256 = "sha256-OHtmUFm/9GkpIzz0DdSdlHyBFRIgu8GxQ4S4VMJik9o=";
}; };
buildInputs = [ nose mock ]; buildInputs = [ nose mock ];
propagatedBuildInputs = [ pyjwt pysocks pytz six requests ]; propagatedBuildInputs = [ pyjwt pysocks pytz six requests ];
pythonImportsCheck = [ "twilio" ];
meta = with lib; { meta = with lib; {
description = "Twilio API client and TwiML generator"; description = "Twilio API client and TwiML generator";
homepage = "https://github.com/twilio/twilio-python/"; homepage = "https://github.com/twilio/twilio-python/";