3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/twilio/default.nix

26 lines
721 B
Nix
Raw Normal View History

2017-10-19 08:49:24 +01:00
{ stdenv, buildPythonPackage, fetchFromGitHub
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
buildPythonPackage rec {
pname = "twilio";
version = "6.32.0";
2017-10-19 08:49:24 +01:00
# tests not included in PyPi, so fetch from github instead
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = version;
sha256 = "0by2qjzxv13k4lvy4mas0hf468xf98qbc2arc8fcy6aj7h8jaam8";
2017-10-19 08:49:24 +01:00
};
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 ];
};
}