forked from mirrors/nixpkgs
2829d860a4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-twilio/versions
26 lines
721 B
Nix
26 lines
721 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub
|
|
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "twilio";
|
|
version = "6.19.1";
|
|
# tests not included in PyPi, so fetch from github instead
|
|
src = fetchFromGitHub {
|
|
owner = "twilio";
|
|
repo = "twilio-python";
|
|
rev = version;
|
|
sha256 = "09c95xyfcjmsjcklz829ariayvdy08zs1p5v8zay7zwxkm017qsm";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|