Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 25 lines 721 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub 2, pyjwt, pysocks, pytz, requests, six, nose, mock }: 3 4buildPythonPackage rec { 5 pname = "twilio"; 6 version = "6.35.1"; 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 = "10a1hqvxn0w6z696ay1bbxra6qn8bxg87d6g9iryd2hjnn8sfh4b"; 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}