1{ stdenv, buildPythonPackage, fetchFromGitHub 2, pyjwt, pysocks, pytz, requests, six, nose, mock }: 3 4buildPythonPackage rec { 5 pname = "twilio"; 6 version = "6.8.0"; 7 # tests not included in PyPi, so fetch from github instead 8 src = fetchFromGitHub { 9 owner = "twilio"; 10 repo = "twilio-python"; 11 rev = version; 12 sha256 = "1vi3m6kvbmv643jbz95q59rcn871y0sss48kw2nqziyr5iswfx8c"; 13 }; 14 15 buildInputs = [ nose mock ]; 16 17 propagatedBuildInputs = [ pyjwt pysocks pytz six requests ]; 18 19 meta = with stdenv.lib; { 20 description = "Twilio API client and TwiML generator"; 21 homepage = https://github.com/twilio/twilio-python/; 22 license = licenses.mit; 23 maintainers = with maintainers; [ flokli ]; 24 }; 25}