{ stdenv, buildPythonPackage, fetchFromGitHub , pyjwt, pysocks, pytz, requests, six, nose, mock }: buildPythonPackage rec { pname = "twilio"; version = "6.26.0"; # tests not included in PyPi, so fetch from github instead src = fetchFromGitHub { owner = "twilio"; repo = "twilio-python"; rev = version; sha256 = "0l50n5hljkp7w2l4c36arxf4dxhkfhs7ywwck9y1gvcgsnvccmss"; }; buildInputs = [ nose mock ]; propagatedBuildInputs = [ pyjwt pysocks pytz six requests ]; meta = with stdenv.lib; { description = "Twilio API client and TwiML generator"; homepage = https://github.com/twilio/twilio-python/; license = licenses.mit; maintainers = with maintainers; [ flokli ]; }; }