3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/twilio/default.nix
2020-05-09 17:24:02 +00:00

26 lines
723 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
buildPythonPackage rec {
pname = "twilio";
version = "6.39.0";
# tests not included in PyPi, so fetch from github instead
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = version;
sha256 = "1l2j54kjd1lrf072a3i5037qxpm8n378dddzd3m711ylz6vp638f";
};
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 ];
};
}